File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Bundle
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " v*"
7
+
8
+ permissions : write-all
9
+
10
+ jobs :
11
+ release :
12
+ runs-on : ubuntu-latest
13
+ permissions :
14
+ contents : read
15
+ packages : write
16
+
17
+ steps :
18
+ - name : Checkout code
19
+ uses : actions/checkout@v3
20
+
21
+ - name : Set up JDK 11
22
+ uses : actions/setup-java@v3
23
+ with :
24
+ java-version : ' 11'
25
+ distribution : ' adopt'
26
+
27
+ - name : Getting SOFT-IoT-DLT-Client-Tangle-Hornet dependency
28
+ uses : wei/wget@v1
29
+ with :
30
+ args : https://github.com/AllanCapistrano/soft-iot-dlt-client-tangle-hornet/releases/download/v1.1.0/soft-iot-dlt-client-tangle-hornet-1.0-SNAPSHOT.jar
31
+
32
+ - name : Getting SOFT-IoT-DLT-ID-Manager dependency
33
+ uses : wei/wget@v1
34
+ with :
35
+ args : https://github.com/larsid/soft-iot-dlt-id-manager/releases/download/v1.1.0/SOFT-IoT-DLT-ID-Manager-1.0-SNAPSHOT.jar
36
+
37
+ - name : Installing SOFT-IoT-DLT-Client-Tangle-Hornet
38
+ run : mvn install:install-file -Dfile=./soft-iot-dlt-client-tangle-hornet-1.0-SNAPSHOT.jar -DgroupId=br.uefs.larsid.iot.soft -DartifactId=soft-iot-dlt-client-tangle-hornet -Dversion=1.0-SNAPSHOT -Dpackaging=jar
39
+
40
+ - name : Installing SOFT-IoT-DLT-ID-Manager
41
+ run : mvn install:install-file -Dfile=./SOFT-IoT-DLT-ID-Manager-1.0-SNAPSHOT.jar -DgroupId=io.github.larsid -DartifactId=SOFT-IoT-DLT-ID-Manager -Dversion=1.0-SNAPSHOT -Dpackaging=jar
42
+
43
+ - name : Building the bundle
44
+ run : mvn clean install
45
+
46
+ - name : Automatic Releases
47
+ uses : marvinpinto/action-automatic-releases@v1.2.1
48
+ with :
49
+ repo_token : " ${{ secrets.BUILD_BUNDLE_TOKEN }}"
50
+ prerelease : false
51
+ files : |
52
+ target/*.jar
You can’t perform that action at this time.
0 commit comments