add publish to action
Some checks failed
Gitea Action Maven build / build (push) Failing after 7s

This commit is contained in:
Eduard Kuksa 2025-01-26 18:19:39 +07:00
parent e855d7c583
commit dad81d739f

View File

@ -22,3 +22,12 @@ jobs:
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Publish to Gitea Packages
uses: gitea/actions/publish-package@v1
with:
token: ${{ secrets.GITEATOKEN }}
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
package-name: spring-demo
package-version: ${{ github.sha }}
file: target/your-artifact.jar