mirror of
				https://github.com/raylib-cs/raylib-cs
				synced 2025-10-29 05:59:51 -04:00 
			
		
		
		
	Fix build.yml naming
This commit is contained in:
		
							
								
								
									
										30
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										30
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -38,7 +38,7 @@ jobs: | ||||
|  | ||||
|   build-android: | ||||
|     runs-on: ubuntu-latest | ||||
|     needs: prepare | ||||
|     needs: build | ||||
|     strategy: | ||||
|       matrix: | ||||
|         name: [arm, arm64, x86, x64] | ||||
| @@ -57,7 +57,7 @@ jobs: | ||||
|  | ||||
|       - name: build raylib | ||||
|         env: | ||||
|           version: ${{ needs.prepare.outputs.version }} | ||||
|           version: ${{ needs.build.outputs.version }} | ||||
|         run: | | ||||
|           curl -Lso raylib.zip https://github.com/raysan5/raylib/archive/refs/tags/${version}.zip | ||||
|           unzip -qq raylib.zip | ||||
| @@ -82,7 +82,7 @@ jobs: | ||||
|  | ||||
|   build-linux: | ||||
|     runs-on: ubuntu-latest | ||||
|     needs: prepare | ||||
|     needs: build | ||||
|     steps: | ||||
|       - name: setup dependencies | ||||
|         run: | | ||||
| @@ -99,7 +99,7 @@ jobs: | ||||
|  | ||||
|       - name: build raylib | ||||
|         env: | ||||
|           version: ${{ needs.prepare.outputs.version }} | ||||
|           version: ${{ needs.build.outputs.version }} | ||||
|         run: | | ||||
|           curl -Lso raylib.zip https://github.com/raysan5/raylib/archive/refs/tags/${version}.zip | ||||
|           unzip -qq raylib.zip | ||||
| @@ -119,7 +119,7 @@ jobs: | ||||
|  | ||||
|   build-osx: | ||||
|     runs-on: macos-latest | ||||
|     needs: prepare | ||||
|     needs: build | ||||
|     strategy: | ||||
|       matrix: | ||||
|         name: [arm64, x64] | ||||
| @@ -131,7 +131,7 @@ jobs: | ||||
|     steps: | ||||
|       - name: build raylib | ||||
|         env: | ||||
|           version: ${{ needs.prepare.outputs.version }} | ||||
|           version: ${{ needs.build.outputs.version }} | ||||
|         run: | | ||||
|           curl -Lso raylib.zip https://github.com/raysan5/raylib/archive/refs/tags/${version}.zip | ||||
|           unzip -qq raylib.zip | ||||
| @@ -152,7 +152,7 @@ jobs: | ||||
|  | ||||
|   build-windows: | ||||
|     runs-on: windows-latest | ||||
|     needs: prepare | ||||
|     needs: build | ||||
|     strategy: | ||||
|       matrix: | ||||
|         name: [x86, x64] | ||||
| @@ -165,7 +165,7 @@ jobs: | ||||
|       - name: build ${{ matrix.arch }} | ||||
|         shell: bash | ||||
|         env: | ||||
|           version: ${{ needs.prepare.outputs.version }} | ||||
|           version: ${{ needs.build.outputs.version }} | ||||
|         run: | | ||||
|           curl -Lso raylib.zip https://github.com/raysan5/raylib/archive/refs/tags/${version}.zip | ||||
|           unzip -qq raylib.zip | ||||
| @@ -254,32 +254,32 @@ jobs: | ||||
|           name: win-x64 | ||||
|           path: Raylib-cs/runtimes/win-x64/native | ||||
|  | ||||
|       - name: Setup dotnet | ||||
|       - name: setup dotnet | ||||
|         uses: actions/setup-dotnet@v3 | ||||
|         with: | ||||
|           dotnet-version: 6.0.x | ||||
|  | ||||
|       - name: Restore workload | ||||
|       - name: restore workload | ||||
|         run: dotnet workload restore | ||||
|  | ||||
|       - name: Build examples android | ||||
|       - name: build examples android | ||||
|         run: dotnet build Examples.Android -c Release | ||||
|  | ||||
|       - name: Create NuGet Package | ||||
|       - name: create NuGet Package | ||||
|         run: dotnet pack Raylib-cs -c Release --output nuget | ||||
|  | ||||
|       - name: Upload NuGet Package As Artifact | ||||
|       - name: upload NuGet Package As Artifact | ||||
|         uses: actions/upload-artifact@v3 | ||||
|         with: | ||||
|           path: nuget/* | ||||
|  | ||||
|       - name: Upload NuGet Package As Release | ||||
|       - name: upload NuGet Package As Release | ||||
|         uses: softprops/action-gh-release@v1 | ||||
|         if: startsWith(github.ref, 'refs/tags/') | ||||
|         with: | ||||
|           files: nuget/* | ||||
|  | ||||
|       - name: Publish to NuGet | ||||
|       - name: publish to NuGet | ||||
|         if: startsWith(github.ref, 'refs/tags/') | ||||
|         run: | | ||||
|           dotnet nuget push \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user