mirror of https://github.com/alibaba/arthas.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
4 years ago
|
name: build vmtool
|
||
|
|
||
|
on: [push]
|
||
|
|
||
|
jobs:
|
||
|
linux:
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Set up JDK 8
|
||
|
uses: actions/setup-java@v2
|
||
|
with:
|
||
|
java-version: '8'
|
||
|
distribution: 'adopt'
|
||
|
- name: Build with Maven
|
||
|
run: ./mvnw package
|
||
|
- uses: actions/upload-artifact@v2
|
||
|
with:
|
||
|
name: Package
|
||
|
path: target/*.jar
|
||
|
|
||
|
mac:
|
||
|
runs-on: macos-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Set up JDK 8
|
||
|
uses: actions/setup-java@v2
|
||
|
with:
|
||
|
java-version: '8'
|
||
|
distribution: 'adopt'
|
||
|
- name: Build with Maven
|
||
|
run: ./mvnw package
|
||
|
- uses: actions/upload-artifact@v2
|
||
|
with:
|
||
|
name: Package
|
||
|
path: target/*.jar
|
||
|
|
||
|
windows:
|
||
|
runs-on: windows-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Set up JDK 8
|
||
|
uses: actions/setup-java@v2
|
||
|
with:
|
||
|
java-version: '8'
|
||
|
distribution: 'adopt'
|
||
|
- name: Build with Maven
|
||
|
run: ./mvnw package
|
||
|
- uses: actions/upload-artifact@v2
|
||
|
with:
|
||
|
name: Package
|
||
|
path: target/*.jar
|