Skip to content

Commit 2abbc43

Browse files
setup go in the nightly release pipeline
1 parent c892ab0 commit 2abbc43

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release-nightly.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
6363
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
6464
- run: git fetch --unshallow --quiet --tags --force
65+
- uses: actions/setup-go@v4
66+
with:
67+
go-version: "~1.21"
68+
check-latest: true
6569
- uses: docker/setup-qemu-action@v2
6670
- uses: docker/setup-buildx-action@v2
6771
- name: Get cleaned branch name
@@ -95,6 +99,10 @@ jobs:
9599
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
96100
# fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567
97101
- run: git fetch --unshallow --quiet --tags --force
102+
- uses: actions/setup-go@v4
103+
with:
104+
go-version: "~1.21"
105+
check-latest: true
98106
- uses: docker/setup-qemu-action@v2
99107
- uses: docker/setup-buildx-action@v2
100108
- name: Get cleaned branch name

0 commit comments

Comments
 (0)