From 0ad73b2d2a55bc4cd31a46887afff8a322416174 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 3 Aug 2025 12:22:11 +0300 Subject: [PATCH] Updated to run on the correct machine and fixed error --- .github/workflows/release.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) 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)