Skip to content

Merge pull request #431 from quarkusio/dependabot/npm_and_yarn/quarku… #66

Merge pull request #431 from quarkusio/dependabot/npm_and_yarn/quarku…

Merge pull request #431 from quarkusio/dependabot/npm_and_yarn/quarku… #66

Workflow file for this run

name: Generate zips
on:
push:
branches:
- main
paths-ignore:
- 'quarkus-workshop-super-heroes/docs/**'
- 'quarkus-workshop-super-heroes/dist/**'
jobs:
build_java17:
runs-on: ubuntu-latest
concurrency: zip-generation
steps:
- uses: actions/checkout@v3
- name: Install JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Microservices build with Maven
run: mvn -B install --file quarkus-workshop-super-heroes/pom.xml
- name: Native build with Maven
run: mvn -B install --file quarkus-workshop-super-heroes/pom.xml -Pnative -Dquarkus.native.container-build=true -DskipITs -pl '!:rest-narration,!:extension-version'
publication:
needs: [ build_java17 ]
runs-on: ubuntu-latest
concurrency: zip-generation
steps:
- uses: actions/checkout@v3
- name: Install JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Generate zips
run: |
cd quarkus-workshop-super-heroes/
mvn package -N
- name: Commit zips
run: |
git config --global user.name 'Github Actions'
git config --global user.email '[email protected]'
git commit -am "Automated zip generation"
git push