Skip to content

Commit 8b70988

Browse files
authored
Merge pull request #79 from nlnwa/ci/build-releases-with-github-actions
ci: store artifacts after build
2 parents 1f735ba + af93e5f commit 8b70988

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/main.yml

+37
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,40 @@ jobs:
5858
args: release --clean ${{ env.flags }}
5959
env:
6060
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+
# This should have been a matrix, but building separate targets is a paid feature in `goreleaser`
62+
- uses: actions/upload-artifact@v4
63+
with:
64+
name: darwin-x86_64
65+
path: dist/warchaeology_Darwin_x86_64*.tar.gz
66+
- uses: actions/upload-artifact@v4
67+
with:
68+
name: linux-x86_64
69+
path: dist/warchaeology_Linux_x86_64.tar.gz
70+
- uses: actions/upload-artifact@v4
71+
with:
72+
name: linux-i386
73+
path: dist/warchaeology_Linux_i386.tar.gz
74+
- uses: actions/upload-artifact@v4
75+
with:
76+
name: windows-x86_64
77+
path: dist/warchaeology_Windows_x86_64.zip
78+
- uses: actions/upload-artifact@v4
79+
with:
80+
name: windows-i386
81+
path: dist/warchaeology_Windows_i386.zip
82+
- uses: actions/upload-artifact@v4
83+
with:
84+
name: deb-amd64
85+
path: dist/warchaeology_*amd64.deb
86+
- uses: actions/upload-artifact@v4
87+
with:
88+
name: deb-i386
89+
path: dist/warchaeology_*i386.deb
90+
- uses: actions/upload-artifact@v4
91+
with:
92+
name: rpm-x86_64
93+
path: dist/warchaeology-*x86_64.rpm
94+
- uses: actions/upload-artifact@v4
95+
with:
96+
name: rpm-i386
97+
path: dist/warchaeology-*i386.rpm

0 commit comments

Comments
 (0)