File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Java CI with Maven
2+
3+ # todo: change to trigger on tag
4+ on :
5+ workflow_dispatch :
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v3
12+ - name : Set up JDK 11
13+ uses : actions/setup-java@v3
14+ with :
15+ java-version : ' 11'
16+ distribution : ' temurin'
17+ cache : maven
18+ - name : Build with Maven
19+ # we are skipping tests as tests are executed when creating a tag
20+ run : mvn -B package --file pom.xml -DskipTests
21+ - name : Create Release
22+ run : echo ${{ github.sha }} > Release.txt
23+ - name : Test
24+ run : cat Release.txt
25+ - name : Release
26+ uses : softprops/action-gh-release@v1
27+ with :
28+ files : |
29+ Release.txt
30+ connector/target/kafka-questdb-connector-*-bin.zip
Original file line number Diff line number Diff line change 1- name : tag_for_release
1+ name : Tag for Release
22on :
33 workflow_dispatch :
44
You can’t perform that action at this time.
0 commit comments