mirror of
https://github.com/Kyren223/eko.git
synced 2026-07-17 17:11:03 +00:00
Updated to run on the correct machine and fixed error
This commit is contained in:
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user