mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	move re-useable workflow
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/release-nightly.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/release-nightly.yml
									
									
									
									
										vendored
									
									
								
							@@ -9,6 +9,8 @@ concurrency:
 | 
				
			|||||||
  cancel-in-progress: true
 | 
					  cancel-in-progress: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
 | 
					  disk-clean:
 | 
				
			||||||
 | 
					    uses: ./.github/workflows/disk-clean.yml
 | 
				
			||||||
  nightly-binary:
 | 
					  nightly-binary:
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
@@ -16,7 +18,6 @@ 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: ./.github/workflows/disk-clean.yml
 | 
					 | 
				
			||||||
      - uses: actions/setup-go@v4
 | 
					      - uses: actions/setup-go@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          go-version: "~1.21"
 | 
					          go-version: "~1.21"
 | 
				
			||||||
@@ -63,7 +64,6 @@ 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: ./.github/workflows/disk-clean.yml
 | 
					 | 
				
			||||||
      - uses: actions/setup-go@v4
 | 
					      - uses: actions/setup-go@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          go-version: "~1.21"
 | 
					          go-version: "~1.21"
 | 
				
			||||||
@@ -101,7 +101,6 @@ 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: ./.github/workflows/disk-clean.yml
 | 
					 | 
				
			||||||
      - uses: actions/setup-go@v4
 | 
					      - uses: actions/setup-go@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          go-version: "~1.21"
 | 
					          go-version: "~1.21"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user