Skip to content

Commit

Permalink
Try and use johnwbyrd/update-release@v1 to not re-create releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
zuckerruebe committed Oct 9, 2023
1 parent 9ec171c commit ef7a2ac
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,13 @@ jobs:
title: "Development Build"
# ATTENTION: `action-automatic-releases` *needs* forward slashes in the paths given to `files`.
files: ${{steps.fn.outputs.file_name_base}}.zip

- if: ${{github.event_name == 'release'}}
name: Release artifacts (${{github.event.release.release_id}})
uses: "marvinpinto/action-automatic-releases@latest"
uses: johnwbyrd/update-release@v1
with:
repo_token: "${{secrets.GITHUB_TOKEN}}"
title: "Release ${{github.event.release.release_id}}"
# ATTENTION: `action-automatic-releases` *needs* forward slashes in the paths given to `files`.
token: ${{ secrets.GITHUB_TOKEN }}
files: ${{steps.fn.outputs.file_name_base}}.zip

- if: ${{github.event_name == 'repository_dispatch' && github.event.client_payload.type == 'build-executable-pull-request'}}
name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit ef7a2ac

Please sign in to comment.