Skip to content

Commit c75be30

Browse files
committed
run release on ubuntu and only if tests pass
1 parent 96b8b42 commit c75be30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
run: go test -C getargv.go
4444

4545
release:
46-
name: Release
47-
runs-on: macos-latest
46+
needs: [ build ]
47+
runs-on: ubuntu-latest
4848
permissions:
4949
contents: write
5050
steps:

0 commit comments

Comments
 (0)