Skip to content

Commit

Permalink
fix: adjust changeset condition (#1181)
Browse files Browse the repository at this point in the history
Fixing this error:
`The workflow is not valid. .github/workflows/release-changeset.yaml:
Unexpected tag '!steps.changesets.outputs.pullRequestNumber'`
  • Loading branch information
helciofranco authored Mar 22, 2024
1 parent ec58815 commit b042ad7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-changeset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}

- name: Upload artifacts to Sentry
if: !steps.changesets.outputs.pullRequestNumber
if: ${{ !steps.changesets.outputs.pullRequestNumber }}
run: |
pnpm sentry-cli sourcemaps inject --release ${{ env.BUILD_VERSION }} ./dist-crx
pnpm sentry-cli sourcemaps upload --release ${{ env.BUILD_VERSION }} ./dist-crx
Expand All @@ -79,7 +79,7 @@ jobs:
working-directory: ./packages/app

- name: Attach Fuel Wallet to release
if: !steps.changesets.outputs.pullRequestNumber
if: ${{ !steps.changesets.outputs.pullRequestNumber }}
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit b042ad7

Please sign in to comment.