Skip to content

Commit

Permalink
Update existing release instead of creating new one
Browse files Browse the repository at this point in the history
  • Loading branch information
IngvarX committed Mar 9, 2021
1 parent 22f67a3 commit 6baab3c
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/windows-installer-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,13 @@ jobs:
run: |
cd src/Camelot.WindowsInstaller
msbuild -p:Configuration=Release -p:platform=x64
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
uses: svenstaro/upload-release-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./src/Camelot.WindowsInstaller/bin/Release/Camelot.msi
asset_name: Camelot.msi
asset_content_type: application/octet-stream .msi
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: ./src/Camelot.WindowsInstaller/bin/Release/Camelot.msi
asset_name: CamelotWindows.msi

0 comments on commit 6baab3c

Please sign in to comment.