This repository was archived by the owner on Sep 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +27
-24
lines changed
Expand file tree Collapse file tree 3 files changed +27
-24
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,17 @@ jobs:
1818 - name : Checkout repository
1919 uses : actions/checkout@v2
2020 # TODO Verify the crate version matches the tag
21+ - name : Test crate
22+ run : cargo test --all-features
23+ working-directory : ${{ env.CRATE_DIR }}
2124 - name : Verify publish crate
22- uses : katyo/publish-crates@v1
23- with :
24- path : ${{ env.CRATE_DIR }}
25- dry-run : true
25+ run : cargo publish --dry-run
26+ working-directory : ${{ env.CRATE_DIR }}
2627 - name : Publish crate
27- uses : katyo/ publish-crates@v1
28- with :
29- path : ${{ env.CRATE_DIR }}
30- registry-token : ${{ secrets.CARGO_REGISTRY_TOKEN }}
28+ run : cargo publish
29+ working-directory : ${{ env.CRATE_DIR }}
30+ env :
31+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
3132 create-release :
3233 needs : publish-crate
3334 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -18,16 +18,17 @@ jobs:
1818 - name : Checkout repository
1919 uses : actions/checkout@v2
2020 # TODO Verify the crate version matches the tag
21+ - name : Test crate
22+ run : cargo test --all-features
23+ working-directory : ${{ env.CRATE_DIR }}
2124 - name : Verify publish crate
22- uses : katyo/publish-crates@v1
23- with :
24- path : ${{ env.CRATE_DIR }}
25- dry-run : true
25+ run : cargo publish --dry-run
26+ working-directory : ${{ env.CRATE_DIR }}
2627 - name : Publish crate
27- uses : katyo/ publish-crates@v1
28- with :
29- path : ${{ env.CRATE_DIR }}
30- registry-token : ${{ secrets.CARGO_REGISTRY_TOKEN }}
28+ run : cargo publish
29+ working-directory : ${{ env.CRATE_DIR }}
30+ env :
31+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
3132 create-release :
3233 needs : publish-crate
3334 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -18,16 +18,17 @@ jobs:
1818 - name : Checkout repository
1919 uses : actions/checkout@v2
2020 # TODO Verify the crate version matches the tag
21+ - name : Test crate
22+ run : cargo test --all-features
23+ working-directory : ${{ env.CRATE_DIR }}
2124 - name : Verify publish crate
22- uses : katyo/publish-crates@v1
23- with :
24- path : ${{ env.CRATE_DIR }}
25- dry-run : true
25+ run : cargo publish --dry-run
26+ working-directory : ${{ env.CRATE_DIR }}
2627 - name : Publish crate
27- uses : katyo/ publish-crates@v1
28- with :
29- path : ${{ env.CRATE_DIR }}
30- registry-token : ${{ secrets.CARGO_REGISTRY_TOKEN }}
28+ run : cargo publish
29+ working-directory : ${{ env.CRATE_DIR }}
30+ env :
31+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
3132 publish-npm :
3233 needs : publish-crate
3334 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments