Skip to content

fix(deps): update all patch versions (#2198) #5017

fix(deps): update all patch versions (#2198)

fix(deps): update all patch versions (#2198) #5017

Workflow file for this run

name: Build
on:
push:
branches:
- main
- release/*
permissions:
contents: read
jobs:
common:
uses: ./.github/workflows/build-common.yml
# Link check is disabled for push events to avoid unnecessary CI failures
# (these failures will instead be captured by the daily scheduled run)
# and for release branches to avoid unnecessary maintenance if external links break
publish-snapshots:
needs:
- common
runs-on: ubuntu-latest
# skipping release branches because the versions in those branches are not snapshots
if: github.ref_name == 'main' && github.repository == 'open-telemetry/opentelemetry-java-contrib'
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up JDK for running Gradle
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
with:
distribution: temurin
java-version: 17
- name: Set up gradle
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4.4.2
- name: Build and publish snapshots
run: ./gradlew assemble publishToSonatype
env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}