Skip to content

Commit

Permalink
Merge pull request #79 from nlnwa/ci/build-releases-with-github-actions
Browse files Browse the repository at this point in the history
ci: store artifacts after build
  • Loading branch information
trym-b authored Mar 6, 2024
2 parents 1f735ba + af93e5f commit 8b70988
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,40 @@ jobs:
args: release --clean ${{ env.flags }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# This should have been a matrix, but building separate targets is a paid feature in `goreleaser`
- uses: actions/upload-artifact@v4
with:
name: darwin-x86_64
path: dist/warchaeology_Darwin_x86_64*.tar.gz
- uses: actions/upload-artifact@v4
with:
name: linux-x86_64
path: dist/warchaeology_Linux_x86_64.tar.gz
- uses: actions/upload-artifact@v4
with:
name: linux-i386
path: dist/warchaeology_Linux_i386.tar.gz
- uses: actions/upload-artifact@v4
with:
name: windows-x86_64
path: dist/warchaeology_Windows_x86_64.zip
- uses: actions/upload-artifact@v4
with:
name: windows-i386
path: dist/warchaeology_Windows_i386.zip
- uses: actions/upload-artifact@v4
with:
name: deb-amd64
path: dist/warchaeology_*amd64.deb
- uses: actions/upload-artifact@v4
with:
name: deb-i386
path: dist/warchaeology_*i386.deb
- uses: actions/upload-artifact@v4
with:
name: rpm-x86_64
path: dist/warchaeology-*x86_64.rpm
- uses: actions/upload-artifact@v4
with:
name: rpm-i386
path: dist/warchaeology-*i386.rpm

0 comments on commit 8b70988

Please sign in to comment.