Skip to content

Commit

Permalink
fix job var ref
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed May 20, 2022
1 parent a955af2 commit 2a44f4b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/_github-release.yml
Expand Up @@ -105,7 +105,7 @@ jobs:

steps:
- name: Tag Exists, Skip GitHub Release Job
run: echo A tag already exists for ${{ jobs.check-release-exists.outputs.tag }} and commit, skipping release
run: echo A tag already exists for ${{ needs.check-release-exists.outputs.tag }} and commit, skipping release

audit-release-different-commit:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
if: steps.check_release_commit.outputs.id != ''
run: |
echo Tag "${{ steps.check_release_commit.outputs.tag_name}}" already exists for this commit!
echo Cannot create a new tag for "${{ jobs.check-release-exists.outputs.tag }}" for the same commit.
echo Cannot create a new tag for "${{ needs.check-release-exists.outputs.tag }}" for the same commit.
exit 1
github-release:
Expand Down Expand Up @@ -184,8 +184,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ jobs.check-release-exists.outputs.tag }}
TITLE: ${{ github.event.repository.name }} ${{ jobs.check-release-exists.outputs.tag }}
TAG: ${{ needs.check-release-exists.outputs.tag }}
TITLE: ${{ github.event.repository.name }} ${{ needs.check-release-exists.outputs.tag }}
RELEASE_NOTES: ${{ inputs.changelog_path }}
COMMIT: ${{ inputs.sha }}
PRERELEASE: ${{ steps.release_type.outputs.prerelease}}
Expand Down

0 comments on commit 2a44f4b

Please sign in to comment.