Compare commits
	
		
			No commits in common. "master" and "v0.1.07-BETA" have entirely different histories.
		
	
	
		
			master
			...
			v0.1.07-BE
		
	
		| 
						 | 
					@ -70,4 +70,18 @@ jobs:
 | 
				
			||||||
            -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
 | 
					            -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
 | 
				
			||||||
            -F "attachment=@${{ steps.jar.outputs.jar_path }}" \
 | 
					            -F "attachment=@${{ steps.jar.outputs.jar_path }}" \
 | 
				
			||||||
            "https://git.itqop.pw/api/v1/repos/itqop/whitelist-neoforge/releases/${{ steps.create_release.outputs.release_id }}/assets?name=${{ steps.jar.outputs.jar_name }}"
 | 
					            "https://git.itqop.pw/api/v1/repos/itqop/whitelist-neoforge/releases/${{ steps.create_release.outputs.release_id }}/assets?name=${{ steps.jar.outputs.jar_name }}"
 | 
				
			||||||
          echo "✓ JAR uploaded to Release"
 | 
					          echo "✓ JAR uploaded to Release"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Upload to Gitea Package Registry
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          VERSION="${{ steps.version.outputs.mod_version }}"
 | 
				
			||||||
 | 
					          JAR_PATH="${{ steps.jar.outputs.jar_path }}"
 | 
				
			||||||
 | 
					          JAR_NAME="${{ steps.jar.outputs.jar_name }}"
 | 
				
			||||||
 | 
					          
 | 
				
			||||||
 | 
					          curl -s -X PUT \
 | 
				
			||||||
 | 
					            -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
 | 
				
			||||||
 | 
					            -H "Content-Type: application/java-archive" \
 | 
				
			||||||
 | 
					            --data-binary @"$JAR_PATH" \
 | 
				
			||||||
 | 
					            "https://git.itqop.pw/api/packages/itqop/generic/whitelist-neoforge/$VERSION/$JAR_NAME"
 | 
				
			||||||
 | 
					          
 | 
				
			||||||
 | 
					          echo "✓ Package uploaded to Registry"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue