diff options
author | techknowlogick <techknowlogick@gitea.com> | 2023-09-12 13:36:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 13:36:15 -0400 |
commit | 2abbc43dff8c25b7212e8e7377e6da30feb4b9ca (patch) | |
tree | cdb886558a1b54c9ef0d57f40d0438a560904b25 | |
parent | c892ab06006ebaf1fd198f762939f18a51a66a3a (diff) | |
download | gitea-2abbc43dff8c25b7212e8e7377e6da30feb4b9ca.tar.gz gitea-2abbc43dff8c25b7212e8e7377e6da30feb4b9ca.zip |
setup go in the nightly release pipeline
-rw-r--r-- | .github/workflows/release-nightly.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml index f8b4033308..5212ccf7bb 100644 --- a/.github/workflows/release-nightly.yml +++ b/.github/workflows/release-nightly.yml @@ -62,6 +62,10 @@ jobs: # fetch all commits instead of only the last as some branches are long lived and could have many between versions # fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567 - run: git fetch --unshallow --quiet --tags --force + - uses: actions/setup-go@v4 + with: + go-version: "~1.21" + check-latest: true - uses: docker/setup-qemu-action@v2 - uses: docker/setup-buildx-action@v2 - name: Get cleaned branch name @@ -95,6 +99,10 @@ jobs: # fetch all commits instead of only the last as some branches are long lived and could have many between versions # fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567 - run: git fetch --unshallow --quiet --tags --force + - uses: actions/setup-go@v4 + with: + go-version: "~1.21" + check-latest: true - uses: docker/setup-qemu-action@v2 - uses: docker/setup-buildx-action@v2 - name: Get cleaned branch name |