diff --git a/.github/workflows/server-nightly.yml b/.github/workflows/server-nightly.yml index f3a90e6..891152d 100644 --- a/.github/workflows/server-nightly.yml +++ b/.github/workflows/server-nightly.yml @@ -19,6 +19,9 @@ jobs: runs-on: windows-2019 env: GOOS: windows + GOARCH: amd64 + CC: zig cc + CXX: zig c++ steps: - uses: actions/checkout@v3 - uses: goto-bus-stop/setup-zig@v2 @@ -26,10 +29,6 @@ jobs: with: go-version: ${{ env.GO_VERSION }} - working-directory: ./server - env: - GOARCH: amd64 - CC: zig cc - CXX: zig c++ run: | go version go mod download @@ -45,14 +44,13 @@ jobs: runs-on: ubuntu-latest env: GOOS: linux + GOARCH: amd64 steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }} - working-directory: ./server - env: - GOARCH: amd64 run: | go version go mod download