diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d5268f4..2117c46 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -71,7 +70,7 @@ jobs: - name: 'Upload version files' uses: actions/upload-artifact@v4 with: - name: artifacts + name: artifacts-jvm path: | HEAD *_VERSION @@ -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 }} @@ -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 @@ -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: @@ -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 @@ -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' diff --git a/pom.xml b/pom.xml index acb02ea..73a6d6b 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ iot.technology iot-toolkit - 0.7.3 + 0.7.2 toolkit-mqtt toolkit-coap diff --git a/toolkit-app/pom.xml b/toolkit-app/pom.xml index dfc5c09..4fc2a99 100644 --- a/toolkit-app/pom.xml +++ b/toolkit-app/pom.xml @@ -22,7 +22,7 @@ iot-toolkit iot.technology - 0.7.3 + 0.7.2 diff --git a/toolkit-coap/pom.xml b/toolkit-coap/pom.xml index 81761ae..3c8f2ff 100644 --- a/toolkit-coap/pom.xml +++ b/toolkit-coap/pom.xml @@ -22,7 +22,7 @@ iot-toolkit iot.technology - 0.7.3 + 0.7.2 diff --git a/toolkit-common/pom.xml b/toolkit-common/pom.xml index 7f69062..429433c 100644 --- a/toolkit-common/pom.xml +++ b/toolkit-common/pom.xml @@ -22,7 +22,7 @@ iot-toolkit iot.technology - 0.7.3 + 0.7.2 IoT Technology ToolKit Common diff --git a/toolkit-mqtt/pom.xml b/toolkit-mqtt/pom.xml index 9b348e9..2c2bd6a 100644 --- a/toolkit-mqtt/pom.xml +++ b/toolkit-mqtt/pom.xml @@ -22,7 +22,7 @@ iot-toolkit iot.technology - 0.7.3 + 0.7.2 toolkit-mqtt diff --git a/toolkit-nbiot/pom.xml b/toolkit-nbiot/pom.xml index e125953..a26e8dc 100644 --- a/toolkit-nbiot/pom.xml +++ b/toolkit-nbiot/pom.xml @@ -22,7 +22,7 @@ iot-toolkit iot.technology - 0.7.3 + 0.7.2 4.0.0