Add action.yml
This commit is contained in:
		
							parent
							
								
									287e277fd3
								
							
						
					
					
						commit
						e6f9091a21
					
				
							
								
								
									
										12
									
								
								action.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								action.yml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,12 @@ | |||||||
|  | name: 'BuildAndPublishNuget' | ||||||
|  | description: 'Builds a solution and publishes all nuget packages' | ||||||
|  | runs: | ||||||
|  |   using: "composite" | ||||||
|  |   steps: | ||||||
|  |     - name: Check out repository code | ||||||
|  |       uses: actions/checkout@v3 | ||||||
|  |     - run: dotnet nuget add source --name Gitea --username $PACKAGE_REPO_USER --password $PACKAGE_REPO_PASS $PACKAGE_REPO_URL_NUGET --store-password-in-clear-text | ||||||
|  |     - run: dotnet restore | ||||||
|  |     - run: dotnet test | ||||||
|  |     - run: dotnet pack -o ./output | ||||||
|  |     - run: dotnet nuget push --source Gitea ./output/* | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user