From 3f55f6af290ccc6b80b35632079ce9f98f0d63b9 Mon Sep 17 00:00:00 2001 From: SpecterDev Date: Mon, 13 Dec 2021 19:01:20 -0500 Subject: [PATCH] Fix mod file references in workflows --- .github/workflows/create-gp4.yml | 6 +++--- .github/workflows/release-stable.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/create-gp4.yml b/.github/workflows/create-gp4.yml index c3099f1..5d0c923 100644 --- a/.github/workflows/create-gp4.yml +++ b/.github/workflows/create-gp4.yml @@ -25,16 +25,16 @@ jobs: - name: Build windows version run: | cd cmd/create-gp4 - GOOS=windows go build -o ../../build/create-gp4.exe -modfile=go-linux.mod + GOOS=windows go build -o ../../build/create-gp4.exe - name: Build linux version run: | cd cmd/create-gp4 - go build -o ../../build/create-gp4 -modfile=go-linux.mod + go build -o ../../build/create-gp4 - name: Build macOS version run: | cd cmd/create-gp4 - GOOS=darwin go build -o ../../build/create-gp4-macos -modfile=go-linux.mod + GOOS=darwin go build -o ../../build/create-gp4-macos - name: Upload windows version uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/release-stable.yml b/.github/workflows/release-stable.yml index 7034fc7..5151408 100644 --- a/.github/workflows/release-stable.yml +++ b/.github/workflows/release-stable.yml @@ -28,15 +28,15 @@ jobs: - name: Build windows version run: | cd cmd/create-gp4 - GOOS=windows go build -o ../../release/bin/windows/create-gp4.exe -modfile=go-linux.mod + GOOS=windows go build -o ../../release/bin/windows/create-gp4.exe - name: Build linux version run: | cd cmd/create-gp4 - go build -o ../../release/bin/linux/create-gp4 -modfile=go-linux.mod + go build -o ../../release/bin/linux/create-gp4 - name: Build macOS version run: | cd cmd/create-gp4 - GOOS=darwin go build -o ../../release/bin/macos/create-gp4 -modfile=go-linux.mod + GOOS=darwin go build -o ../../release/bin/macos/create-gp4 - name: Create tarball run: |