Skip to content

Commit

Permalink
Update cmake-single-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Milansuman authored Aug 3, 2024
1 parent c5a57fe commit c566257
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,26 +79,17 @@ jobs:
- name: Compress Archive
run: Compress-Archive -Path ${{ steps.strings.outputs.build-output-dir }}/Release -DestinationPath ${{ steps.strings.outputs.build-output-dir }}/Release.zip

- name: Dry run tag
- uses: phish108/[email protected]
id: tagger
uses: anothrNick/github-tag-action@v1 # Don't use @master or @v1 unless you're happy to test the latest version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # if you don't want to set write permissions use a PAT token
WITH_V: true
DRY_RUN: true
with:
github-token: ${{ secrets.GITHUB_TOKEN}}

- name: Release
uses: softprops/action-gh-release@v2
with:
files: ${{ steps.strings.outputs.build-output-dir }}/Release.zip
generate_release_notes: true
tag_name: ${{ steps.tagger.output.tag }}

- name: Actually publish tag
uses: anothrNick/github-tag-action@v1 # Don't use @master or @v1 unless you're happy to test the latest version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # if you don't want to set write permissions use a PAT token
WITH_V: true
tag_name: ${{ steps.tagger.output.new-tag }}



Expand Down

0 comments on commit c566257

Please sign in to comment.