From d7d189ef9410b3e6f66fc2f619a9e0ee272d00cf Mon Sep 17 00:00:00 2001 From: Ned Palacios Date: Tue, 26 Mar 2024 16:43:13 +0800 Subject: [PATCH] styling(workflows): streamline env [skip ci] --- .github/workflows/server-nightly.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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