From 5040024433c4b134c6649ab7c74ffe83125a527d Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sun, 26 Nov 2023 12:53:02 -0300 Subject: [PATCH] build and upload "manually". --- .github/workflows/release.yml | 44 +++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e29020d..e31103a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}