Skip to content

Commit

Permalink
build and upload "manually".
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Nov 26, 2023
1 parent 7ff9248 commit 5040024
Showing 1 changed file with 26 additions and 18 deletions.
44 changes: 26 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,36 +24,44 @@ jobs:
- make-release
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.40
- uses: actions/setup-go@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
overwrite: true
md5sum: false
sha256sum: false
compress_assets: false
go-version-file: go.mod
- run: go build
- run: mv jingle jingle-linux
- uses: AButler/upload-release-assets@v2.0
with:
files: jingle-linux
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ github.ref_name }}
build-mac:
runs-on: darwin-latest
needs:
- make-release
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.40
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
- run: go build
- run: mv jingle jingle-macos
- uses: AButler/upload-release-assets@v2.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
overwrite: true
md5sum: false
sha256sum: false
compress_assets: false
files: jingle-macos
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ github.ref_name }}
build-windows:
runs-on: windows-latest
needs:
- make-release
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.40
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
- run: go build
- uses: AButler/upload-release-assets@v2.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
overwrite: true
md5sum: false
sha256sum: false
compress_assets: false
files: jingle.exe
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ github.ref_name }}

0 comments on commit 5040024

Please sign in to comment.