Skip to content

Merge pull request #130 from quarkusio/dependabot/maven/quarkus.platf… #14

Merge pull request #130 from quarkusio/dependabot/maven/quarkus.platf…

Merge pull request #130 from quarkusio/dependabot/maven/quarkus.platf… #14

name: Publish action artifact to GitHub project's Maven repository
on:
workflow_dispatch:
push:
branches:
- 'main'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
build-and-push-action:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
cache: maven
- name: Build and publish action to Maven repository
shell: bash
run: |
./mvnw -B clean deploy -Dquarkus.package.type=uber-jar -Dquarkus.package.add-runner-suffix=false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}