Skip to content

Commit

Permalink
removed deprecated set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
raianand committed Apr 2, 2024
1 parent 58898c7 commit da35d1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
uses: actions/checkout@v4
- name: Get release version
id: releaseVersion
run: echo "::set-output name=releaseVersion::$(awk -F\' '/export const releaseVersion/ { print $2 }' src/version.js)"
run: echo "releaseVersion=$(awk -F\' '/export const releaseVersion/ { print $2 }' src/version.js)" >> $GITHUB_ENV
- name: Check if releaseVersion is same as tag
run: |
if [ "${{ env.tag }}" != "${{ steps.releaseVersion.outputs.releaseVersion }}" ]; then
if [ "${{ env.tag }}" != "${{ env.releaseVersion }}" ]; then
echo "releaseVersion does not match the tag"
exit 1
fi
Expand Down

0 comments on commit da35d1f

Please sign in to comment.