Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dimtsap authored Nov 9, 2023
1 parent 74e1bf5 commit 9dea74f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,9 @@ jobs:
# token: ${{ github.token }}
release:
runs-on: ubuntu-latest
needs: build-n-publish
needs: [calculate-version, build-n-publish]
name: Create a Github Release
env:
GITHUB_TOKEN: ${{ secrets.GH_VARIABLE_PAT }}
GH_TOKEN: ${{ github.token }}
SEMVER: ${{ needs.calculate-version.outputs.semVer }}
steps:
Expand All @@ -125,11 +124,9 @@ jobs:
run: echo RELEASE_TAG=v$SEMVER >> $GITHUB_ENV
- name: Display Tag
run: echo $RELEASE_TAG
- name: Set GH CLI variable
run: gh variable set TAG --body "$RELEASE_TAG"
- name: Create Github release
run: |
gh release create "$TAG"
gh release create $RELEASE_TAG

Expand Down

0 comments on commit 9dea74f

Please sign in to comment.