Skip to content

chore(hypertrace/java-grpc-utils): Upgrade 0.13.17 (#84) #78

chore(hypertrace/java-grpc-utils): Upgrade 0.13.17 (#84)

chore(hypertrace/java-grpc-utils): Upgrade 0.13.17 (#84) #78

Workflow file for this run

name: Publish artifacts
on:
push:
branches:
- main
jobs:
create-release:
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Determine version
id: version
run: echo version=$(./gradlew -q -Prelease :printVersion) >> $GITHUB_OUTPUT
- name: Create Release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.version.outputs.version }}
name: Release ${{ steps.version.outputs.version }}
publish-artifacts:
runs-on: ubuntu-24.04
needs: [ create-release ]
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Publish java artifacts
uses: hypertrace/github-actions/gradle@main
with:
args: publish
env:
ORG_GRADLE_PROJECT_maven_repo_url: ${{ secrets.HAR_REPO_URL }}
ORG_GRADLE_PROJECT_maven_user: ${{ secrets.HAR_PUBLISH_USER }}
ORG_GRADLE_PROJECT_maven_password: ${{ secrets.HAR_PUBLISH_TOKEN }}