Skip to content

Commit

Permalink
Add GitHub Actions upload to Releases
Browse files Browse the repository at this point in the history
CI artifacts aren't kept around, and seems like they had to be
regenerated by @burritosoftware for their Linux SDVX guide - thanks for
the guide and here's the official generated upload! :D
  • Loading branch information
nicholastay committed Feb 28, 2024
1 parent b9cbfaa commit be9af55
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,20 @@ jobs:
- name: Install Go dependencies
run: go get .
- name: Build for Windows x64
run: go build -v -o ortlinde.exe
env:
GOOS: windows
GOARCH: amd64
run: go build -v -o ortlinde.exe -ldflags="-X main.VERSION=$(date '+%Y-%m-%d').${GITHUB_SHA::7}"
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ortlinde.exe
path: ortlinde.exe
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >-
gh release create ${{ github.ref_name }}
"ortlinde.exe"
--generate-notes
--title "$(date '+%Y-%m-%d').${GITHUB_SHA::7}"

2 comments on commit be9af55

@burritosoftware
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey thanks for this! I will be switching the guide to your official build soon.

@burritosoftware
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The guide has been switched to links to your build and your source. Have a great day!

Please sign in to comment.