Skip to content

Commit

Permalink
Fix mod file references in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryptogenic committed Dec 14, 2021
1 parent 9845306 commit 3f55f6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-gp4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 3f55f6a

Please sign in to comment.