Skip to content

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

⬆️(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 #1732

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@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # 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 }}