diff --git a/.github/workflows/update_meta_core.yaml b/.github/workflows/update_meta_core.yaml index 2d7ab61..0c3a293 100644 --- a/.github/workflows/update_meta_core.yaml +++ b/.github/workflows/update_meta_core.yaml @@ -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: | diff --git a/.github/workflows/update_singbox_core.yaml b/.github/workflows/update_singbox_core.yaml index b27cc70..40a5182 100644 --- a/.github/workflows/update_singbox_core.yaml +++ b/.github/workflows/update_singbox_core.yaml @@ -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' }}