Skip to content

Commit

Permalink
Fix GitHub Actions workflow for release and tagging (#43)
Browse files Browse the repository at this point in the history
Change log:
 1. Exported version_check output to the publish job on continuous_delivery.yml.
  • Loading branch information
shaharbar1 authored Aug 20, 2024
1 parent c87e4ec commit 02266e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/continuous_delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@ jobs:
echo "Version ${{ env.PACKAGE_VERSION }} already exists."
exit 0
fi
- name: Generate output
run: echo "sVersionCheck=${{ steps.version_check.outcome }}" >> $GITHUB_OUTPUT

publish_and_tag:
needs: check_version
runs-on: ubuntu-latest
if: ${{ steps.version_check.outcome != 'failure' }}
if: needs.check_version.outputs.sVersionCheck != 'failure'
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 02266e9

Please sign in to comment.