mirror of
https://github.com/frohoff/ysoserial.git
synced 2026-09-27 01:11:53 +08:00
test
This commit is contained in:
@@ -49,7 +49,7 @@ jobs:
|
|||||||
- id: get-versions
|
- id: get-versions
|
||||||
run: |
|
run: |
|
||||||
URL="https://hub.docker.com/v2/repositories/vulhub/java/tags/?page_size=100"
|
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"
|
echo "::set-output name=versions::$VERSIONS"
|
||||||
outputs:
|
outputs:
|
||||||
versions: ${{ steps.get-versions.outputs.versions }}
|
versions: ${{ steps.get-versions.outputs.versions }}
|
||||||
@@ -61,9 +61,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
version: ${{ fromJson(needs.set-matrix.outputs.versions) }} # broken in act
|
version: ${{ fromJson(needs.set-matrix.outputs.versions) }} # broken in act
|
||||||
# version:
|
# version: [7u21-jdk 7u25-jdk, 7u40-jdk]
|
||||||
# - 7u21-jdk 7u25-jdk
|
|
||||||
# - 7u40-jdk
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user