|
@@ -9,9 +9,9 @@ jobs:
|
|
|
if: ${{ github.event.label.name == 'status/feature_testing' || github.event.label.name == 'status/feature_testing_public' }}
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
- - uses: actions/checkout@v3
|
|
|
+ - uses: ./.github/workflows/build-template.yaml
|
|
|
with:
|
|
|
- ref: ${{ github.event.pull_request.head.sha }}
|
|
|
+ APP_VERSION: $GITHUB_SHA
|
|
|
- name: get branch name
|
|
|
id: extract_branch
|
|
|
run: |
|
|
@@ -19,19 +19,6 @@ jobs:
|
|
|
echo "tag=${tag}" >> $GITHUB_OUTPUT
|
|
|
env:
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
- - name: Set up JDK
|
|
|
- uses: actions/setup-java@v3
|
|
|
- with:
|
|
|
- java-version: '17'
|
|
|
- distribution: 'zulu'
|
|
|
- cache: 'maven'
|
|
|
- - name: Build
|
|
|
- id: build
|
|
|
- run: |
|
|
|
- ./mvnw -B -ntp versions:set -DnewVersion=$GITHUB_SHA
|
|
|
- ./mvnw -B -V -ntp clean package -Pprod -DskipTests
|
|
|
- export VERSION=$(./mvnw -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
|
|
|
- echo "version=${VERSION}" >> $GITHUB_OUTPUT
|
|
|
- name: Set up QEMU
|
|
|
uses: docker/setup-qemu-action@v2
|
|
|
- name: Set up Docker Buildx
|