diff options
| author | Kyren223 <kyren223@proton.me> | 2025-08-03 12:22:11 +0300 |
|---|---|---|
| committer | Kyren223 <kyren223@proton.me> | 2025-08-03 12:22:11 +0300 |
| commit | 0ad73b2d2a55bc4cd31a46887afff8a322416174 (patch) | |
| tree | 8a0a223368fd5f04785cc414cedcf26da4d676c6 /.github/workflows/release.yml | |
| parent | f1d4c18e3597ba180fdc5acde0cc975e8a271241 (diff) | |
Updated to run on the correct machine and fixed error
Diffstat (limited to '.github/workflows/release.yml')
| -rw-r--r-- | .github/workflows/release.yml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2dc8b01..832c9f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,24 +14,41 @@ jobs: include: - target: linux/amd64 ext: tar.gz + runs_on: ubuntu-latest + - target: linux/arm64 ext: tar.gz + runs_on: ubuntu-latest + - target: linux/386 ext: tar.gz + runs_on: ubuntu-latest + - target: linux/arm ext: tar.gz + runs_on: ubuntu-latest + - target: windows/amd64 ext: zip + runs_on: windows-latest + - target: windows/386 ext: zip + runs_on: windows-latest + - target: windows/arm64 ext: zip + runs_on: windows-latest + - target: darwin/amd64 ext: tar.gz + runs_on: macos-latest + - target: darwin/arm64 ext: tar.gz + runs_on: macos-latest - runs-on: ${{ matrix.target == 'darwin/amd64' || matrix.target == 'darwin/arm64' && 'macos-latest' || matrix.target == 'windows/amd64' || matrix.target == 'windows/386' || matrix.target == 'windows/arm64' && 'windows-latest' || 'ubuntu-latest' }} + runs-on: ${{ matrix.runs_on }} steps: - uses: actions/checkout@v4 @@ -41,6 +58,7 @@ jobs: go-version: stable - name: Build binary + shell: bash run: | TARGET="${{ matrix.target }}" GOOS=$(echo "$TARGET" | cut -d'/' -f1) |
