Skip to content

⬆️(deps): Update dependency org.apache.maven.plugins:maven-plugin-plugin to v3.15.1 #2048

⬆️(deps): Update dependency org.apache.maven.plugins:maven-plugin-plugin to v3.15.1

⬆️(deps): Update dependency org.apache.maven.plugins:maven-plugin-plugin to v3.15.1 #2048

name: Publish action artifact to GitHub project's Maven repository
on:
workflow_dispatch:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build-and-push-action:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up JDK 11
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4
with:
java-version: 17
distribution: temurin
cache: maven
- name: Build and publish action to Maven repository
shell: bash
run: |
cd github_action && mvn -B clean deploy -Dquarkus.package.type=uber-jar --update-snapshots -Dquarkus.package.add-runner-suffix=false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}