build with deploy to gitea packages
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Gitea Action Maven build / build (push) Successful in 1m28s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Gitea Action Maven build / build (push) Successful in 1m28s
				
			This commit is contained in:
		| @@ -48,22 +48,5 @@ jobs: | ||||
|             </servers> | ||||
|           </settings> | ||||
|           EOF | ||||
|       - name: Deploy to Gitea | ||||
|       - name: Deploy to Gitea Packages | ||||
|         run: mvn deploy -Downer=${{ vars.OWNER }} | ||||
| #      - name: List target directory | ||||
| #        run: ls -l target | ||||
| #      - name: Upload to Gitea Packages | ||||
| #        env: | ||||
| #          ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | ||||
| #          GITEA_URL: "https://git.kuksa.dev" | ||||
| #          PACKAGE_NAME: "spring-demo" | ||||
| #          PACKAGE_VERSION: "0.0.1-SNAPSHOT" | ||||
| #        run: | | ||||
| #          echo "Uploading $PACKAGE_NAME-$PACKAGE_VERSION.jar to Gitea Packages" | ||||
| #          echo "Using Access Token: ${ACCESS_TOKEN}" | ||||
| #          curl -v -X PUT \ | ||||
| #          -H "Authorization: token ${ACCESS_TOKEN}" \ | ||||
| #          -H "Content-Type: multipart/form-data" \ | ||||
| #          -F "data=@target/$PACKAGE_NAME-$PACKAGE_VERSION.jar" \ | ||||
| #          "$GITEA_URL/api/packages/edkuksa/maven/$PACKAGE_NAME/$PACKAGE_VERSION" | ||||
| ##          "$GITEA_URL/api/packages/edkuksa/maven/$PACKAGE_NAME/versions/$PACKAGE_VERSION" - old way | ||||
|   | ||||
							
								
								
									
										11
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								pom.xml
									
									
									
									
									
								
							| @@ -10,7 +10,7 @@ | ||||
|     </parent> | ||||
|     <groupId>dev.kuksa</groupId> | ||||
|     <artifactId>spring-demo</artifactId> | ||||
|     <version>0.0.1-SNAPSHOT</version> | ||||
|     <version>0.0.2-SNAPSHOT</version> | ||||
|     <name>spring-demo</name> | ||||
|     <description>spring-demo</description> | ||||
|     <url/> | ||||
| @@ -59,18 +59,21 @@ | ||||
|     <repositories> | ||||
|         <repository> | ||||
|             <id>gitea</id> | ||||
|             <url>https://git.kuksa.dev/api/packages/{owner}/maven</url> | ||||
|             <!--suppress UnresolvedMavenProperty --> | ||||
|             <url>https://git.kuksa.dev/api/packages/${owner}/maven</url> | ||||
|         </repository> | ||||
|     </repositories> | ||||
|  | ||||
|     <distributionManagement> | ||||
|         <repository> | ||||
|             <id>gitea</id> | ||||
|             <url>https://git.kuksa.dev/api/packages/{owner}/maven</url> | ||||
|             <!--suppress UnresolvedMavenProperty --> | ||||
|             <url>https://git.kuksa.dev/api/packages/${owner}/maven</url> | ||||
|         </repository> | ||||
|         <snapshotRepository> | ||||
|             <id>gitea</id> | ||||
|             <url>https://git.kuksa.dev/api/packages/{owner}/maven</url> | ||||
|             <!--suppress UnresolvedMavenProperty --> | ||||
|             <url>https://git.kuksa.dev/api/packages/${owner}/maven</url> | ||||
|         </snapshotRepository> | ||||
|     </distributionManagement> | ||||
| </project> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Eduard Kuksa
					Eduard Kuksa