From 86f57a3589083881bb729b0551bad765f16305bc Mon Sep 17 00:00:00 2001 From: rpanchyk Date: Thu, 18 Apr 2024 12:43:56 +0300 Subject: [PATCH] Try github release --- .github/workflows/release.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fcacfa0..8e99ea0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,13 +16,16 @@ jobs: matrix: include: - os: ubuntu-latest - artifact_name: ${{ github.event.repository.name }} + osname: linux + # artifact_name: ${{ github.event.repository.name }} asset_name: ${{ github.event.repository.name }}-linux-amd64.zip - os: windows-latest - artifact_name: ${{ github.event.repository.name }}.exe + osname: windows + # artifact_name: ${{ github.event.repository.name }}.exe asset_name: ${{ github.event.repository.name }}-windows-amd64.zip - os: macos-latest - artifact_name: ${{ github.event.repository.name }} + osname: macosx + # artifact_name: ${{ github.event.repository.name }} asset_name: ${{ github.event.repository.name }}-macos-arm64.zip runs-on: ${{ matrix.os }} # runs-on: ubuntu-latest @@ -47,7 +50,7 @@ jobs: run: go test -v ./... - name: Create binaries - run: make build + run: make build-${{ matrix.osname }} # - name: Create binaries # if: startsWith(github.ref, 'refs/tags/')