mirror of
				https://github.com/boudji-ludwig-pett/cnam-geometry-dash.git
				synced 2025-06-27 11:58:51 +02:00 
			
		
		
		
	ci: improvements to release process
This commit is contained in:
		
							
								
								
									
										9
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -50,6 +50,7 @@ jobs: | |||||||
|  |  | ||||||
|       - name: Upload Windows Build Artifact |       - name: Upload Windows Build Artifact | ||||||
|         id: upload |         id: upload | ||||||
|  |         if: github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main' | ||||||
|         uses: actions/upload-artifact@v4.4.3 |         uses: actions/upload-artifact@v4.4.3 | ||||||
|         with: |         with: | ||||||
|           name: build-windows |           name: build-windows | ||||||
| @@ -81,6 +82,7 @@ jobs: | |||||||
|  |  | ||||||
|       - name: Upload macOS Build Artifact |       - name: Upload macOS Build Artifact | ||||||
|         id: upload |         id: upload | ||||||
|  |         if: github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main' | ||||||
|         uses: actions/upload-artifact@v4.3.0 |         uses: actions/upload-artifact@v4.3.0 | ||||||
|         with: |         with: | ||||||
|           name: build-macos |           name: build-macos | ||||||
| @@ -112,6 +114,7 @@ jobs: | |||||||
|  |  | ||||||
|       - name: Upload Linux Build Artifact |       - name: Upload Linux Build Artifact | ||||||
|         id: upload |         id: upload | ||||||
|  |         if: github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main' | ||||||
|         uses: actions/upload-artifact@v4.6.2 |         uses: actions/upload-artifact@v4.6.2 | ||||||
|         with: |         with: | ||||||
|           name: build-linux |           name: build-linux | ||||||
| @@ -163,13 +166,9 @@ jobs: | |||||||
|         uses: softprops/action-gh-release@v2.2.2 |         uses: softprops/action-gh-release@v2.2.2 | ||||||
|         with: |         with: | ||||||
|           tag_name: ${{ steps.get_version.outputs.version }} |           tag_name: ${{ steps.get_version.outputs.version }} | ||||||
|           name: | |           name: ${{ steps.get_version.outputs.version }} | ||||||
|             ${{ github.ref == 'refs/heads/main' && 'Production Release' || 'Pre-release' }} ${{ steps.get_version.outputs.version }} |  | ||||||
|           body: | |           body: | | ||||||
|             🎮 Automatic ${{ github.ref == 'refs/heads/main' && 'Production' || 'Pre-release' }} build |             🎮 Automatic ${{ github.ref == 'refs/heads/main' && 'Production' || 'Pre-release' }} build | ||||||
|  |  | ||||||
|             Branch: `${{ github.ref_name }}` |  | ||||||
|             Commit: `${{ github.sha }}` |  | ||||||
|           prerelease: ${{ github.ref != 'refs/heads/main' }} |           prerelease: ${{ github.ref != 'refs/heads/main' }} | ||||||
|           files: | |           files: | | ||||||
|             build/windows.zip |             build/windows.zip | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user