File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' [0-9]+.[0-9]+*'
7+
8+ jobs :
9+ build :
10+ name : Build and Release
11+ runs-on : ubuntu-latest
12+ permissions :
13+ contents : write
14+
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v4
18+
19+ - name : Set up JDK 11
20+ uses : actions/setup-java@v4
21+ with :
22+ java-version : ' 11'
23+ distribution : ' temurin'
24+ cache : ' maven'
25+
26+ - name : Build with Maven
27+ run : mvn clean package -DskipTests
28+
29+ - name : Create Release
30+ id : create_release
31+ uses : softprops/action-gh-release@v2
32+ with :
33+ draft : true
34+ files : |
35+ tda/target/tda-*.jar
36+ visualvm-lib-component/target/*.nbm
37+ visualvm-logfile-component/target/*.nbm
38+ visualvm-module/target/*.nbm
39+ env :
40+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments