recreate publish
This commit is contained in:
parent
f1ff8bbb18
commit
a7e99a79fe
1 changed files with 35 additions and 24 deletions
|
@ -1,24 +1,35 @@
|
||||||
# name: publish
|
name: publish
|
||||||
#
|
|
||||||
# on:
|
on:
|
||||||
# release:
|
release:
|
||||||
# types: [created]
|
types: [created]
|
||||||
#
|
push:
|
||||||
# jobs:
|
tags:
|
||||||
# build:
|
- '*'
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# steps:
|
jobs:
|
||||||
# - name: checkout repository
|
build:
|
||||||
# uses: actions/checkout@v2
|
runs-on: docker
|
||||||
# - name: set up java
|
steps:
|
||||||
# uses: actions/setup-java@v1
|
- name: checkout repository
|
||||||
# with:
|
uses: https://gitea.com/actions/checkout@v2
|
||||||
# java-version: '11'
|
- name: set up java
|
||||||
# - name: build with maven
|
uses: https://gitea.com/actions/setup-java@v4
|
||||||
# run: mvn --batch-mode --file pom.xml package
|
with:
|
||||||
# - name: upload to release
|
java-version: '21'
|
||||||
# uses: skx/github-action-publish-binaries@master
|
distribution: 'temurin'
|
||||||
# env:
|
- name: Set up Maven
|
||||||
# GITHUB_TOKEN: ${{ github.token }}
|
uses: https://github.com/stCarolas/setup-maven@v5
|
||||||
# with:
|
with:
|
||||||
# args: 'bundle/target/*.ear'
|
maven-version: 3.9.9
|
||||||
|
- name: build with maven
|
||||||
|
run: mvn --batch-mode --file pom.xml package
|
||||||
|
- name: upload to release
|
||||||
|
uses: https://gitea.com/actions/release-action@main
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
with:
|
||||||
|
files: |-
|
||||||
|
bundle/target/*.ear
|
||||||
|
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue