Skip to content

Commit

Permalink
Updated GitHub actions versions and corrected Windows build output fi…
Browse files Browse the repository at this point in the history
…le names
  • Loading branch information
olifink committed May 22, 2024
1 parent 4742d7e commit 045c3c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:

- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.22

Expand All @@ -40,12 +40,12 @@ jobs:

- name: Build for Windows (Intel)
run: |
GOOS=windows GOARCH=amd64 go build -o trantorHub-win-x86 -v .
GOOS=windows GOARCH=amd64 go build -o trantorHub-win-x86.exe -v .
shell: bash

- name: Build for Windows (ARM)
run: |
GOOS=windows GOARCH=arm go build -o trantorHub-win-arm -v .
GOOS=windows GOARCH=arm go build -o trantorHub-win-arm.exe -v .
shell: bash

- name: Prepare artifacts
Expand All @@ -55,7 +55,7 @@ jobs:
shell: bash

- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: trantorHub
path: artifacts/

0 comments on commit 045c3c3

Please sign in to comment.