Skip to content

Commit

Permalink
Run update script from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKunz committed Aug 7, 2024
1 parent f2fd4f2 commit 3bca231
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/upstream-dependencies-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,15 @@ jobs:
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
- name: Update upstream dependencies
run: |
gradle/update-upstream.sh
if [[ `git status --porcelain` ]]; then
echo "updated=1" >> "$GITHUB_OUTPUT"
else
echo "updated=0" >> "$GITHUB_OUTPUT"
fi
- name: Gradle build without tests to regenerate license files
uses: ./.github/workflows/gradle-goal
with:
command: "./gradlew build -x test"

0 comments on commit 3bca231

Please sign in to comment.