Skip to content

🔖(deps): Update github/codeql-action digest to ea9e4e3 (#978) #3273

🔖(deps): Update github/codeql-action digest to ea9e4e3 (#978)

🔖(deps): Update github/codeql-action digest to ea9e4e3 (#978) #3273

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: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
maven.pkg.github.com:443
repo.maven.apache.org:443
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # 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 }}