Skip to content

Commit 95347e6

Browse files
authored
Build assets before publishing release
Building assets is a bottleneck, so the assets should be ready to be published before the release is created. Otherwise, the release exists for a bit of time without any assets.
1 parent e9d0ed1 commit 95347e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ jobs:
1515
- uses: actions/checkout@v3
1616
with:
1717
ref: ${{ github.ref }}
18-
- name: Publish GitHub Release
19-
uses: spenserblack/actions-tag-to-release@v1
20-
with:
21-
prerelease: auto
2218
- uses: actions/setup-go@v3
2319
with:
2420
go-version: '1.20'
@@ -27,6 +23,10 @@ jobs:
2723
run: ./build.sh
2824
env:
2925
CGO_ENABLED: '0'
26+
- name: Publish GitHub Release
27+
uses: spenserblack/actions-tag-to-release@v1
28+
with:
29+
prerelease: auto
3030
- name: Publish Assets
3131
uses: softprops/action-gh-release@v1
3232
with:

0 commit comments

Comments
 (0)