Skip to content

Commit

Permalink
4
Browse files Browse the repository at this point in the history
  • Loading branch information
shiquda committed Dec 1, 2024
1 parent b612f2a commit 3bf87ba
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
- os: windows-latest
build-platform: windows/amd64
build-name: crypto-monitor.exe
- os: windows-latest
build-platform: windows/amd64
build-name: crypto-monitor-windows-amd64.exe
nsis: "true"

steps:
Expand Down Expand Up @@ -108,3 +111,34 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./artifacts/crypto-monitor-windows-latest/crypto-monitor.exe
asset_name: crypto-monitor-${{ steps.get_version.outputs.VERSION }}-windows-amd64.exe
asset_content_type: application/vnd.microsoft.portable-executable

- name: Upload Windows Executable Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./artifacts/crypto-monitor-windows-latest/crypto-monitor-windows-amd64.exe
asset_name: crypto-monitor-${{ steps.get_version.outputs.VERSION }}-windows-amd64.exe
asset_content_type: application/vnd.microsoft.portable-executable

- name: Upload macOS Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./artifacts/crypto-monitor-macos-latest/crypto-monitor
asset_name: crypto-monitor-${{ steps.get_version.outputs.VERSION }}-macos-universal
asset_content_type: application/x-apple-app

- name: Upload Linux Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./artifacts/crypto-monitor-ubuntu-latest/crypto-monitor
asset_name: crypto-monitor-${{ steps.get_version.outputs.VERSION }}-linux-amd64
asset_content_type: application/x-elf

0 comments on commit 3bf87ba

Please sign in to comment.