pkgbuild GH action fails for latest Java 8 due to naming of package
- Dominant language
- Jinja
- Stars
- 168
- Forks
- 77
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 12
Description
GH action uses URL as follows:
- name: Download prebuilt binaries
run: |
mkdir -p workspace/target/
cd workspace/target/
wget -q "https://github.com/adoptium/temurin${{ env.MAJOR_VERSION }}-binaries/releases/download/${{ env.TAG }}/OpenJDK${{ env.MAJOR_VERSION }}U-jdk_${{ matrix.architecture }}_mac_hotspot_${{ env.SUB_TAG }}.tar.gz"
e.g. https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u422-b05.1/OpenJDK8U-jdk_x64_mac_hotspot_8u422b05.1.tar.gz
But the package we have built is at:
https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u422-b05.1/OpenJDK8U-jdk_x64_mac_hotspot_8u422b05.tar.gz
Note the missing **.1** at the end of the file we have stored.
I think ${{ env.SUB_TAG }} needs to be enhanced or an extra ENV. added to the end for the .1 patch number
Contributor guide
Research direction
Start with the GitHub Actions step shown in the issue and trace how MAJOR_VERSION, TAG, and SUB_TAG produce the download URL. Compare the generated filename with the stored Temurin 8 macOS package name, then verify that the action downloads the existing archive for the reported jdk8u422-b05.1 release.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, java
- Domain
- build-system, ci-cd
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100