Skip to content

Commit 38eb3ee

Browse files
authored
Restore official gorelease with added generic support (#42)
1 parent ce9dc58 commit 38eb3ee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

templates/github/workflows/gorelease.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
with:
3636
path: |
3737
~/go/bin/gorelease
38-
key: ${{ runner.os }}-gorelease-fork
38+
key: ${{ runner.os }}-gorelease-generic
3939
- name: Gorelease
4040
id: gorelease
4141
run: |
42-
test -e ~/go/bin/gorelease || (rm -rf /tmp/gorelease && mkdir -p /tmp/gorelease && cd /tmp/gorelease && go mod init foo && go mod edit -replace golang.org/x/exp=github.com/vearutop/golang-exp@gorelease-generic && go get golang.org/x/exp/cmd/gorelease && go install golang.org/x/exp/cmd/gorelease)
42+
test -e ~/go/bin/gorelease || go install golang.org/x/exp/cmd/gorelease@latest
4343
OUTPUT=$(gorelease 2>&1 || exit 0)
4444
echo "${OUTPUT}"
4545
OUTPUT="${OUTPUT//$'\n'/%0A}"

0 commit comments

Comments
 (0)