Skip to content

Commit

Permalink
fix publish job
Browse files Browse the repository at this point in the history
  • Loading branch information
stormshield-gt committed Feb 21, 2025
1 parent a506076 commit 8108415
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
publish:
name: Publish to crates.io
runs-on: ubuntu-latest
if: startsWith(github.event.ref, 'refs/tags/v')
# if: startsWith(github.event.ref, 'refs/tags/v')
needs: [fmt, clippy, test]
steps:
- uses: actions/checkout@v4
Expand All @@ -77,6 +77,7 @@ jobs:
profile: ${{ env.TOOLCHAIN_PROFILE }}
toolchain: ${{ env.RUST_TOOLCHAIN }}
override: true
- uses: katyo/publish-crates@v1
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
dry-run: true
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rustdoc-args = ["--cfg", "docsrs"]

[workspace]
members = [
"vaultrs-login", "vaultrs-tests", "."
"vaultrs-login", "vaultrs-tests"
]

default-members = ["vaultrs-login", "vaultrs-tests", "."]
Expand Down

0 comments on commit 8108415

Please sign in to comment.