diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1403489..9c471a6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -16,8 +16,7 @@ jobs: go-version: 1.21 - name: Build bedrockpack - run: GOOS=linux GOARCH=amd64 \ - go build -o bedrockpack main.go + run: export GOOS=linux && export GOARCH=amd64 && go build -o bedrockpack main.go - name: Upload bedrockpack uses: actions/upload-artifact@v4 @@ -37,8 +36,7 @@ jobs: go-version: 1.21 - name: Build bedrockpack - run: GOOS=windows GOARCH=amd64 \ - go build -o bedrockpack.exe main.go + run: export GOOS=windows && export GOARCH=amd64 && go build -o bedrockpack.exe main.go - name: Upload bedrockpack uses: actions/upload-artifact@v4