mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	setup go in the nightly release pipeline
This commit is contained in:
		
							
								
								
									
										8
									
								
								.github/workflows/release-nightly.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/release-nightly.yml
									
									
									
									
										vendored
									
									
								
							| @@ -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 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 |       # 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 |       - 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-qemu-action@v2 | ||||||
|       - uses: docker/setup-buildx-action@v2 |       - uses: docker/setup-buildx-action@v2 | ||||||
|       - name: Get cleaned branch name |       - 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 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 |       # 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 |       - 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-qemu-action@v2 | ||||||
|       - uses: docker/setup-buildx-action@v2 |       - uses: docker/setup-buildx-action@v2 | ||||||
|       - name: Get cleaned branch name |       - name: Get cleaned branch name | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 techknowlogick
					techknowlogick