Skip to content

Commit

Permalink
ci: push a test of ci
Browse files Browse the repository at this point in the history
main
  • Loading branch information
sgelias committed Apr 12, 2024
1 parent a33b7cd commit c89f139
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Publish Crate from Release

on:
release:
types: [published]
#release:
# types: [published]
push:
branches:
- main

env:
CARGO_TERM_COLOR: always
Expand All @@ -12,9 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --verbose
#- name: Run tests
# run: cargo test --verbose
- name: Publish
run: scripts/publish-all.sh --token $CARGO_REGISTRY_TOKEN --verbose
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
#run: scripts/publish-all.sh --token $CARGO_REGISTRY_TOKEN --verbose
run: echo $CARGO_REGISTRY_TOKEN
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c89f139

Please sign in to comment.