File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " build"
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v2
10+ - name : Set up JDK 1.8
11+ uses : actions/setup-java@v1
12+ with :
13+ java-version : 1.8
14+ - name : Build with Gradle
15+ run : ./gradlew clean build
Original file line number Diff line number Diff line change 1+ name : " release"
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*"
7+
8+ jobs :
9+ release :
10+ runs-on : " ubuntu-latest"
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : Set up JDK 1.8
14+ uses : actions/setup-java@v1
15+ with :
16+ java-version : 1.8
17+ - name : Build with Gradle
18+ run : ./gradlew clean build
19+ - uses : " marvinpinto/action-automatic-releases@latest"
20+ with :
21+ repo_token : " ${{ secrets.GITHUB_TOKEN }}"
22+ prerelease : false
23+ files : |
24+ ./build/libs/xlr-ansible-automation-controller-plugin-*.jar
You can’t perform that action at this time.
0 commit comments