修复编译时go版本不正确的bug

This commit is contained in:
juewuy 2024-02-08 11:41:25 +08:00
parent 43f0bffef6
commit 38af29536b
2 changed files with 8 additions and 4 deletions

View File

@ -100,7 +100,9 @@ jobs:
fail-fast: false
runs-on: ubuntu-latest
needs: meta
needs:
- go
- meta
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
@ -121,7 +123,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ steps.go.outputs.version }}
go-version: ${{needs.go.outputs.version}}
- name: Set ENV
run: |

View File

@ -110,7 +110,9 @@ jobs:
fail-fast: false
runs-on: ubuntu-latest
needs: sing-box
needs:
- go
- sing-box
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
@ -132,7 +134,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ steps.go.outputs.version }}
go-version: ${{needs.go.outputs.version}}
- name: checkout sing repository
if: ${{ env.REPO == 'PuerNya/sing-box' }}