Skip to content

Commit

Permalink
fix: release action
Browse files Browse the repository at this point in the history
  • Loading branch information
nange committed Dec 17, 2024
1 parent 561a7e3 commit 90f3136
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Install Deps
run: sudo apt update && sudo apt install -y libgtk-3-dev libayatana-appindicator3-dev
Expand Down Expand Up @@ -106,27 +108,18 @@ jobs:
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'

- name: Build Amd64
run: |
GOOS=darwin GOARCH=amd64 make easyss
GOOS=darwin GOARCH=amd64 make easyss-server
- name: Pack Amd64
run: |
cd bin
zip easyss-darwin-amd64.zip ./easyss
zip easyss-server-darwin-amd64.zip ./easyss-server
- name: Set outputs
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- name: Nightly Release
- name: Release
uses: softprops/action-gh-release@v2
with:
name: Nightly-${{ steps.vars.outputs.sha_short }}
tag_name: nightly-${{ steps.vars.outputs.sha_short }}
prerelease: true
body: For testing and development only
name: Release ${{ github.ref_name }}
body: TODO
files: bin/*.zip

0 comments on commit 90f3136

Please sign in to comment.