Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}-${{ github.sha }}

- name: 'Set release version'
id: version
Expand Down Expand Up @@ -71,7 +70,7 @@ jobs:
- name: 'Upload version files'
uses: actions/upload-artifact@v4
with:
name: artifacts
name: artifacts-jvm
path: |
HEAD
*_VERSION
Expand All @@ -81,7 +80,7 @@ jobs:
needs: [ version ]
name: 'Build with Graal on ${{ matrix.os }}'
strategy:
fail-fast: false
fail-fast: true
matrix:
os: [ ubuntu-latest, macOS-latest, windows-latest ]
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -127,7 +126,6 @@ jobs:
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: 'Create distribution'
run: mvn -B --file pom.xml -Pnative -DskipTests -pl iot.technology:toolkit-app package -am
Expand All @@ -139,8 +137,9 @@ jobs:
- name: 'Upload build artifact'
uses: actions/upload-artifact@v4
with:
name: artifacts
path: toolkit-app/target/*.zip
name: artifacts-${{ matrix.os }}
path: |
toolkit-app/target/*.zip

# Collect all executables and release
release:
Expand All @@ -151,6 +150,10 @@ jobs:
# must read HEAD before checkout
- name: 'Download all build artifacts'
uses: actions/download-artifact@v4
with:
pattern: artifacts-*
path: toolkit-app/target
merge-multiple: true

- name: 'Read HEAD ref'
id: head
Expand Down Expand Up @@ -192,7 +195,7 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-m2

- name: 'Release with JReleaser'
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<groupId>iot.technology</groupId>
<artifactId>iot-toolkit</artifactId>
<version>0.7.3</version>
<version>0.7.2</version>
<modules>
<module>toolkit-mqtt</module>
<module>toolkit-coap</module>
Expand Down
2 changes: 1 addition & 1 deletion toolkit-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>iot-toolkit</artifactId>
<groupId>iot.technology</groupId>
<version>0.7.3</version>
<version>0.7.2</version>
</parent>


Expand Down
2 changes: 1 addition & 1 deletion toolkit-coap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>iot-toolkit</artifactId>
<groupId>iot.technology</groupId>
<version>0.7.3</version>
<version>0.7.2</version>
</parent>


Expand Down
2 changes: 1 addition & 1 deletion toolkit-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>iot-toolkit</artifactId>
<groupId>iot.technology</groupId>
<version>0.7.3</version>
<version>0.7.2</version>
</parent>

<name>IoT Technology ToolKit Common</name>
Expand Down
2 changes: 1 addition & 1 deletion toolkit-mqtt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>iot-toolkit</artifactId>
<groupId>iot.technology</groupId>
<version>0.7.3</version>
<version>0.7.2</version>
</parent>

<artifactId>toolkit-mqtt</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion toolkit-nbiot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>iot-toolkit</artifactId>
<groupId>iot.technology</groupId>
<version>0.7.3</version>
<version>0.7.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Loading