This commit is contained in:
Chris Frohoff
2022-03-25 00:17:51 -07:00
parent 6b807bf3c9
commit a4036b09ab
+2 -4
View File
@@ -49,7 +49,7 @@ jobs:
- id: get-versions
run: |
URL="https://hub.docker.com/v2/repositories/vulhub/java/tags/?page_size=100"
VERSIONS=$(curl -s $URL "$URL&page=2" | jq -rc '[[.results[].name] | _nwise(3) | join(" ")]')
VERSIONS=$(curl -s $URL "$URL&page=2" | jq -rc '[[.results[].name] | _nwise(2) | join(" ")]')
echo "::set-output name=versions::$VERSIONS"
outputs:
versions: ${{ steps.get-versions.outputs.versions }}
@@ -61,9 +61,7 @@ jobs:
strategy:
matrix:
version: ${{ fromJson(needs.set-matrix.outputs.versions) }} # broken in act
# version:
# - 7u21-jdk 7u25-jdk
# - 7u40-jdk
# version: [7u21-jdk 7u25-jdk, 7u40-jdk]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3