mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-10-30 18:22:41 -04:00 
			
		
		
		
	Merge branch 'master' of github.com:AnonymusRaccoon/Kyoo
This commit is contained in:
		
						commit
						d8b13eebb0
					
				
							
								
								
									
										22
									
								
								.github/workflows/common.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/common.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,22 @@ | ||||
| name: Publish to nuget | ||||
| on: | ||||
|   push: | ||||
|     tags:         | ||||
|       - 'v*' | ||||
| 
 | ||||
| jobs: | ||||
|   publish: | ||||
|     name: build, pack & publish | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v2 | ||||
| 
 | ||||
|       # Publish | ||||
|       - name: publish on version change | ||||
|         id: publish_nuget | ||||
|         uses: rohith/publish-nuget@v2 | ||||
|         with: | ||||
|           PROJECT_FILE_PATH: Kyoo.Common/Kyoo.Common.csproj | ||||
|           PACKAGE_NAME: Kyoo.Common | ||||
|           NUGET_KEY: ${{secrets.NUGET_API_KEY}} | ||||
|           INCLUDE_SYMBOLS: true | ||||
							
								
								
									
										36
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,36 @@ | ||||
| name: Release the application | ||||
| 
 | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - master | ||||
| 
 | ||||
| jobs: | ||||
|   build: | ||||
|     runs-on: ${{matrix.os}} | ||||
|     strategy: | ||||
|       matrix: | ||||
|         include: | ||||
|           - os: ubuntu-latest | ||||
|             runtime: linux-x64 | ||||
|             artifact: linux | ||||
|          # - os: windows-latest | ||||
|          #   runtime: win-x64 | ||||
|          #   artifact: windows | ||||
|           - os: macOS-latest | ||||
|             runtime: osx-x64 | ||||
|             artifact: macos | ||||
|     steps: | ||||
|       - uses: actions/checkout@v1 | ||||
|       - name: Checkout submodules | ||||
|         run: git submodule update --init --recursive | ||||
|       - name: Setup .NET | ||||
|         uses: actions/setup-dotnet@v1 | ||||
|         with: | ||||
|           dotnet-version: 5.0.x | ||||
|       - name: Build the app | ||||
|         run: dotnet publish -r ${{matrix.runtime}} -c Release -o dist Kyoo | ||||
|       - uses: actions/upload-artifact@v2 | ||||
|         with: | ||||
|           name: kyoo_${{matrix.artifact}}.zip | ||||
|           path: dist/* | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user