⬆️(deps): Update dependency org.apache.maven.plugins:maven-de… #3158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish action artifact to GitHub Maven package | |
on: | |
workflow_dispatch: | |
push: | |
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # 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 }} |