mirror of
https://github.com/frohoff/ysoserial.git
synced 2026-09-24 16:01:54 +08:00
26 lines
528 B
YAML
26 lines
528 B
YAML
name: Java CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up JDK 1.8
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 1.8
|
|
- name: Build with Maven
|
|
run: mvn -B package --file pom.xml
|
|
|
|
- name: Upload artifact
|
|
uses: actions/[email protected]
|
|
with:
|
|
# Artifact name
|
|
name: ysoserial
|
|
# Directory containing files to upload
|
|
path: /home/runner/work/ysoserial/ysoserial/target/
|