Skip to content

Commit

Permalink
fix: release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
garethgeorge committed Jun 1, 2024
1 parent 0c9f366 commit 290d018
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- "*"
workflow_dispatch:

permissions:
contents: write
Expand Down Expand Up @@ -75,23 +76,21 @@ jobs:
./scripts/generate-installers.sh ./dist-installers
- name: Upload Release Asset x86_64
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.geturl.outputs.upload_url }}
asset_path: ./dist-installers/Backrest-setup-x86_64.exe
asset_name: Backrest-setup-x86_64.exe
asset_name: Backrest-setup-windows-x86_64.exe
asset_content_type: application/octet-stream

- name: Upload Release Asset arm64
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.geturl.outputs.upload_url }}
asset_path: ./dist-installers/Backrest-setup-arm64.exe
asset_name: Backrest-setup-arm64.exe
asset_name: Backrest-setup-windows-arm64.exe
asset_content_type: application/octet-stream

0 comments on commit 290d018

Please sign in to comment.