mirror of
https://github.com/frohoff/ysoserial.git
synced 2026-09-26 17:01:53 +08:00
test
This commit is contained in:
@@ -15,9 +15,7 @@ jobs:
|
|||||||
- if: ${{ env.ACT }} # act workaround
|
- if: ${{ env.ACT }} # act workaround
|
||||||
run: sudo chown -R runner:runner .
|
run: sudo chown -R runner:runner .
|
||||||
|
|
||||||
|
- uses: actions/setup-java@v2
|
||||||
- name: Set up JDK 1.8
|
|
||||||
uses: actions/setup-java@v2
|
|
||||||
with:
|
with:
|
||||||
java-version: 8
|
java-version: 8
|
||||||
distribution: adopt
|
distribution: adopt
|
||||||
@@ -37,11 +35,6 @@ jobs:
|
|||||||
name: jar
|
name: jar
|
||||||
path: target/ysoserial-*-all.jar
|
path: target/ysoserial-*-all.jar
|
||||||
|
|
||||||
# - uses: actions/upload-artifact@v3
|
|
||||||
# with:
|
|
||||||
# name: results
|
|
||||||
# path: .github/workflows/results.py
|
|
||||||
|
|
||||||
set-matrix:
|
set-matrix:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: dwdraju/alpine-curl-jq
|
container: dwdraju/alpine-curl-jq
|
||||||
@@ -60,8 +53,8 @@ jobs:
|
|||||||
- build
|
- build
|
||||||
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: [7u21-jdk 7u25-jdk, 7u40-jdk]
|
version: [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
|
||||||
@@ -115,7 +108,7 @@ jobs:
|
|||||||
- run: |
|
- run: |
|
||||||
git config --local user.email "[email protected]"
|
git config --local user.email "[email protected]"
|
||||||
git config --local user.name "GitHub Action"
|
git config --local user.name "GitHub Action"
|
||||||
git add matrix/matrix.md
|
git add matrix.md
|
||||||
git commit -m "Add changes"
|
git commit -m "Add changes"
|
||||||
- uses: ad-m/github-push-action@master
|
- uses: ad-m/github-push-action@master
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user