Skip to content

Commit

Permalink
release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
phendryx committed Sep 27, 2023
1 parent 0698889 commit b871b28
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: update-linux-amd64.gz

build-windows:
name: Build Windows Client
runs-on: ubuntu-latest
Expand All @@ -29,16 +30,43 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.16
- name: Build

- name: install nsis
run: sudo apt-get update; sudo apt-get -y install nsis

- name: Make
run: make build-windows

- uses: actions/upload-artifact@v3
if: ${{ env.ACT }}
with:
name: files
path: albiondata-client.exe

- uses: actions/upload-artifact@v3
if: ${{ env.ACT }}
with:
name: files
path: update-windows-amd64.exe.gz

- uses: actions/upload-artifact@v3
if: ${{ env.ACT }}
with:
name: files
path: albiondata-client-amd64-installer.exe

- uses: shogo82148/actions-upload-release-asset@v1
if: ${{ !env.ACT }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: update-windows-amd64.exe.gz

- uses: shogo82148/actions-upload-release-asset@v1
if: ${{ !env.ACT }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: albiondata-client-amd64-installer.exe

build-darwin:
name: Build MacOS Client
runs-on: macos-13
Expand Down

0 comments on commit b871b28

Please sign in to comment.