remove deploy, add publish to maven.yml
Some checks failed
Gitea Action Maven build / build (push) Failing after 6s
Some checks failed
Gitea Action Maven build / build (push) Failing after 6s
This commit is contained in:
parent
88002bae57
commit
da885f5e2d
@ -22,5 +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: Deploy to Gitea
|
- name: Publish to Gitea Packages
|
||||||
run: mvn deploy
|
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/spring-demo.jar
|
Loading…
x
Reference in New Issue
Block a user