Skip to content

Commit

Permalink
ci: fix package version reading from outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
MauriceNino committed Jan 20, 2024
1 parent c0894d6 commit 514781d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
echo "package_version=$(yarn semantic-release -d | sed -n 's/.*next release version is \([0-9]\+\.[0-9]\+\.[0-9]\+\)/\1/p')" >> "$GITHUB_OUTPUT"
- if: ${{ github.ref_name == 'main' }}
run: |
[ ! -z "${package_version}" ] || exit 1
[ ! -z "${{ steps.version.outputs.package_version }}" ] || exit 1
deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 514781d

Please sign in to comment.