Skip to content

fix(deps): update dependency biz.aqute.bnd:biz.aqute.bndlib to v7 #240

fix(deps): update dependency biz.aqute.bnd:biz.aqute.bndlib to v7

fix(deps): update dependency biz.aqute.bnd:biz.aqute.bndlib to v7 #240

Workflow file for this run

name: Publish
on:
push:
branches:
- master
workflow_dispatch: {}
concurrency:
# only run one publishing at a time to avoid conflicts
group: publish-${{ github.ref }}
jobs:
publish:
# Only on main repository (don't publish on forks)
if: github.repository_owner == 'stempler'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
# fetch-depth 0 is required to fetch all tags (and to determine the version based on tags)
fetch-depth: 0
- name: Setup mise & tools
uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
- name: Setup Gradle
uses: gradle/actions/setup-gradle@0f4528296b4bc09e8ae0fc7be30185a4ab435545 # v6.0.0
# - id: install-secret-key
# name: Install gpg secret key
# run: |
# # Install gpg secret key
# cat <(echo -e "${{ secrets.SONATYE_PGP_PRIVATE_KEY }}") | gpg --batch --import
# # Verify gpg secret key
# gpg --list-secret-keys --keyid-format LONG
- name: Build and publish with Gradle
env:
# CI marker
CI: "true"
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
# keyring file (did not get this to work)
# ORG_GRADLE_PROJECT_signing.password: ${{ secrets.SONATYE_PGP_PASSWORD }}
# ORG_GRADLE_PROJECT_signing.keyId: ${{ secrets.SONATYE_PGP_KEY_ID }}
# ORG_GRADLE_PROJECT_signing.secretKeyRingFile: /home/runner/.gnupg/secring.gpg
# in-memory key
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SONATYE_PGP_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SONATYE_PGP_PRIVATE_KEY }}
run: ./gradlew clean check publishToSonatype
# https://github.com/marketplace/actions/junit-report-action
- name: Publish Test Report
uses: mikepenz/action-junit-report@49b2ca06f62aa7ef83ae6769a2179271e160d8e4 # v6.3.1
if: always() # always run even if the previous step fails
with:
report_paths: "build/test-results/**/*.xml"
require_tests: true # currently no tests present
annotate_only: true
detailed_summary: true
# fail_on_failure: true