Skip to content

Commit bc17e9f

Browse files
committed
Download go modules before going into goreleaser
Signed-off-by: Nelo-T. Wallus <[email protected]>
1 parent 1de04aa commit bc17e9f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/goreleaser.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ jobs:
2525
with:
2626
go-version-file: go.mod
2727

28+
- name: Download go modules
29+
run: |
30+
for gomod in **/go.mod; do
31+
echo "Downloading modules for $gomod"
32+
cd $(dirname $gomod)
33+
go mod download
34+
cd -
35+
done
36+
2837
- name: Delete non-semver tags
2938
run: 'git tag -d $(git tag -l | grep -v "^v")'
3039

0 commit comments

Comments
 (0)