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> |             </servers> | ||||||
|           </settings> |           </settings> | ||||||
|           EOF |           EOF | ||||||
|       - name: Deploy to Gitea |       - name: Deploy to Gitea Packages | ||||||
|         run: mvn deploy -Downer=${{ vars.OWNER }} |         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> |     </parent> | ||||||
|     <groupId>dev.kuksa</groupId> |     <groupId>dev.kuksa</groupId> | ||||||
|     <artifactId>spring-demo</artifactId> |     <artifactId>spring-demo</artifactId> | ||||||
|     <version>0.0.1-SNAPSHOT</version> |     <version>0.0.2-SNAPSHOT</version> | ||||||
|     <name>spring-demo</name> |     <name>spring-demo</name> | ||||||
|     <description>spring-demo</description> |     <description>spring-demo</description> | ||||||
|     <url/> |     <url/> | ||||||
| @@ -59,18 +59,21 @@ | |||||||
|     <repositories> |     <repositories> | ||||||
|         <repository> |         <repository> | ||||||
|             <id>gitea</id> |             <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> |         </repository> | ||||||
|     </repositories> |     </repositories> | ||||||
|  |  | ||||||
|     <distributionManagement> |     <distributionManagement> | ||||||
|         <repository> |         <repository> | ||||||
|             <id>gitea</id> |             <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> |         </repository> | ||||||
|         <snapshotRepository> |         <snapshotRepository> | ||||||
|             <id>gitea</id> |             <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> |         </snapshotRepository> | ||||||
|     </distributionManagement> |     </distributionManagement> | ||||||
| </project> | </project> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Eduard Kuksa
					Eduard Kuksa