Skip to content

Commit

Permalink
Fixing some names in JShell GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
Alathreon committed Oct 4, 2024
1 parent 68047b1 commit bdc2603
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-jshell-image-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Extract current version from JShellAPI build.gradle
# Extract current version from JShellWrapper build.gradle
gradle_file="JShellWrapper/build.gradle"
current_version=$(grep -oP "(?<=from\.image\s=\s'eclipse-temurin:)\d+" $gradle_file)
Expand All @@ -45,7 +45,7 @@ jobs:
# Update the build.gradle with the new version
sed -i "s/eclipse-temurin:$current_version-alpine/eclipse-temurin:$latest_version-alpine/" $gradle_file
echo "Updated eclipse-temurin version from $current_version to $latest_version"
echo "Updated JDK version from $current_version to $latest_version"
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
Expand Down

0 comments on commit bdc2603

Please sign in to comment.