RCE through TorchServe Management API #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: doyensec-plugins-build | |
on: | |
push: | |
paths: | |
- 'doyensec/**' | |
pull_request: | |
paths: | |
- 'doyensec/**' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest ] | |
java: [ 11 ] | |
runs-on: ${{ matrix.os }} | |
name: 'Build doyensec plugins on ${{ matrix.os }} using Java ${{ matrix.java }}' | |
steps: | |
- name: 'Check out repository' | |
uses: actions/checkout@v2 | |
- name: 'Set up JDK ${{ matrix.java }}' | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: 'Cache Gradle resources' | |
uses: actions/cache@v2 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: ${{ runner.os }}-gradle | |
- name: 'Build Doyensec plugins' | |
run: ./doyensec/build_all.sh |