Skip to content

Commit

Permalink
Skip publishing to crate in scheduled daily release (#2902)
Browse files Browse the repository at this point in the history
  • Loading branch information
mewim committed Feb 21, 2024
1 parent c79a8a6 commit 89aba2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,12 @@ jobs:

- name: Deploy crate to Crates.io
run: cargo publish --allow-dirty
if: ${{ github.event_name == 'schedule' || github.event.inputs.isDeploy == 'true' }}
if: ${{ github.event.inputs.isDeploy == 'true' }}
working-directory: tools/rust_api

- name: Test publishing crate
run: cargo publish --dry-run --allow-dirty
if: ${{ github.event_name != 'schedule' && github.event.inputs.isDeploy != 'true' }}
if: ${{ github.event.inputs.isDeploy != 'true' }}
working-directory: tools/rust_api

- name: Upload crate
Expand Down

0 comments on commit 89aba2f

Please sign in to comment.