Skip to content

Commit

Permalink
Merge pull request #296 from gocardless/rnaveiras-github-actions-upda…
Browse files Browse the repository at this point in the history
…te-outputs

github actions update job outputs
  • Loading branch information
rnaveiras authored Jun 14, 2023
2 parents 9931672 + 7d39be8 commit 62d6d38
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 @@ -35,10 +35,10 @@ jobs:
CURRENT_VERSION="v$(cat VERSION)"
if [[ $(git tag -l "${CURRENT_VERSION}") == "${CURRENT_VERSION}" ]]; then
echo "Version ${CURRENT_VERSION} is already released"
echo "{release}={false}" >> $GITHUB_OUTPUT
echo "release=false" >> "$GITHUB_OUTPUT"
else
echo "Version ${CURRENT_VERSION} can be release"
echo "{release}={true}" >> $GITHUB_OUTPUT
echo "release=true" >> "$GITHUB_OUTPUT"
fi
exit 0
Expand Down

0 comments on commit 62d6d38

Please sign in to comment.