Skip to content

Commit

Permalink
test(workflow) #5
Browse files Browse the repository at this point in the history
  • Loading branch information
GalvinPython committed May 20, 2024
1 parent 8f2c9e3 commit a8d5e58
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
jobs:
check_version:
runs-on: ubuntu-latest
outputs:
version_changed: ${{ steps.version_compare.outputs.version_changed }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -38,10 +40,10 @@ jobs:
run: |
if [ "${{ env.CURRENT_VERSION }}" == "${{ env.LATEST_VERSION }}" ]; then
echo "No version change detected."
echo "version_changed=false" >> $GITHUB_ENV
echo "::set-output name=version_changed::false"
else
echo "Version change detected."
echo "version_changed=true" >> $GITHUB_ENV
echo "::set-output name=version_changed::true"
fi
env:
CURRENT_VERSION: ${{ env.CURRENT_VERSION }}
Expand Down

0 comments on commit a8d5e58

Please sign in to comment.