add publish with token to action
Some checks failed
Gitea Action Maven build / build (push) Failing after 5s
Some checks failed
Gitea Action Maven build / build (push) Failing after 5s
This commit is contained in:
parent
e855d7c583
commit
f23e9eb4b0
@ -22,3 +22,12 @@ jobs:
|
|||||||
cache: 'maven'
|
cache: 'maven'
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B package --file pom.xml
|
run: mvn -B package --file pom.xml
|
||||||
|
- name: Publish to Gitea Packages
|
||||||
|
uses: gitea/actions/publish-package@v1
|
||||||
|
with:
|
||||||
|
token: c0e0d748a36706d620aeb402377a221504af0479
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
|
repo: ${{ github.event.repository.name }}
|
||||||
|
package-name: spring-demo
|
||||||
|
package-version: ${{ github.sha }}
|
||||||
|
file: target/your-artifact.jar
|
Loading…
x
Reference in New Issue
Block a user