Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed Feb 28, 2024
1 parent 7e801ab commit 79802ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ permissions: {}

jobs:
set-up:
if: ${{ !( !inputs.is-called && startsWith(github.event.head_commit.message, 'release:') && github.event.head_commit.author.name == 'github-actions[bot]' ) }}
if: ${{ !( inputs.is-called == null && startsWith(github.event.head_commit.message, 'release:') && github.event.head_commit.author.name == 'github-actions[bot]' ) }}
runs-on: ubuntu-latest
permissions: {}
outputs:
dry-run: ${{ steps.set-dry-run.outputs.dry-run }}
steps:
- id: set-dry-run
env:
DRY_RUN: ${{ !inputs.is-called }}
DRY_RUN: ${{ inputs.is-called == null }}
run: echo "dry-run=$DRY_RUN" >> $GITHUB_OUTPUT
publish:
needs: ["set-up"]
Expand Down

0 comments on commit 79802ab

Please sign in to comment.