Skip to content

Update Upstream Dependencies #2

Update Upstream Dependencies

Update Upstream Dependencies #2

---
name: Update Upstream Dependencies
on:
workflow_dispatch: {}
permissions:
contents: read
env:
GH_TOKEN: ${{ github.token }}
jobs:
update-upstream-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Fetch latest opentelemetry-java-instrumentation release
run: |
tag_name="$(gh release list --repo https://github.com/open-telemetry/opentelemetry-java-instrumentation --json isLatest,tagName --jq '.[] | select(.isLatest) | .tagName')"
echo "Tag of the latest opentelemetry-java-instrumentation release is $tag_name"
echo "tag=$tag_name" >> $GITHUB_OUTPUT