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