Skip to content

Commit

Permalink
Merge pull request #55 from eve-mem/build_with_release
Browse files Browse the repository at this point in the history
Update build.yml with release
  • Loading branch information
mkonshie authored Apr 15, 2024
2 parents 340ed1b + 827550b commit e1b76ea
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.18

Expand All @@ -37,10 +37,19 @@ jobs:
GOARCH: amd64

- name: Archive production artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: dwarf2json
path: |
dwarf2json-linux-amd64
dwarf2json-windows-amd64.exe
dwarf2json-darwin-amd64
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dwarf2json-linux-amd64
dwarf2json-windows-amd64.exe
dwarf2json-darwin-amd64

0 comments on commit e1b76ea

Please sign in to comment.