diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7032e7677..c95d5a47e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@4 with: java-version: 11 distribution: zulu diff --git a/.github/workflows/early-access.yml b/.github/workflows/early-access.yml index a8f9b99af..e52f5bfda 100644 --- a/.github/workflows/early-access.yml +++ b/.github/workflows/early-access.yml @@ -62,7 +62,7 @@ jobs: - name: JReleaser release output if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: jreleaser-release path: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 40a3aed27..9092e9dbd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -41,7 +41,7 @@ jobs: echo ${{ github.event.inputs.version }} > VERSION - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ vars.JAVA_VERSION }} distribution: ${{ vars.JAVA_DISTRO }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cf3b114c4..0f607688f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,7 +68,7 @@ jobs: path: out/jreleaser/assemble/riot-standalone/jlink - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ vars.JAVA_VERSION }} distribution: ${{ vars.JAVA_DISTRO }} @@ -82,7 +82,7 @@ jobs: ./gradlew -Prelease=true -PreproducibleBuild=true publish gitPublishPush -S - name: Upload deploy artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: retention-days: 7 name: deploy @@ -109,7 +109,7 @@ jobs: - name: JReleaser release output if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: jreleaser-release path: | diff --git a/.github/workflows/step-jlink.yml b/.github/workflows/step-jlink.yml index 48e572e98..7a169b494 100644 --- a/.github/workflows/step-jlink.yml +++ b/.github/workflows/step-jlink.yml @@ -26,7 +26,7 @@ jobs: ref: main - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ vars.JAVA_VERSION }} distribution: ${{ vars.JAVA_DISTRO }} @@ -38,18 +38,18 @@ jobs: echo ${{ inputs.project-version }} > VERSION - name: Build - run: ./gradlew -Prelease=true -PreproducibleBuild=true build aggregateTestReports aggregateJacocoReport -S + run: ./gradlew -Prelease=true -PreproducibleBuild=true build aggregateTestReports aggregateJacocoReport :guide:createGuide -S - name: Upload test reports if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-reports path: | build/reports/aggregate-tests/ - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 - name: Jlink uses: jreleaser/release-action@v2 @@ -62,7 +62,7 @@ jobs: - name: JReleaser output if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: riot-jlink path: | @@ -74,7 +74,7 @@ jobs: ls -l plugins/riot/build/dependencies/flat - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: retention-days: 1 name: artifacts @@ -82,6 +82,7 @@ jobs: plugins/riot/build/libs/ plugins/riot/build/dependencies/ plugins/riot/build/distributions/ + docs/guide/build/guide/ plugins/LICENSE - name: Stop Gradle daemon @@ -89,7 +90,7 @@ jobs: run: ./gradlew -stop - name: Upload jlink - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: retention-days: 1 name: jlink diff --git a/.github/workflows/trigger-early-access.yml b/.github/workflows/trigger-early-access.yml index ef25e7819..c6b054dcc 100644 --- a/.github/workflows/trigger-early-access.yml +++ b/.github/workflows/trigger-early-access.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ vars.JAVA_VERSION }} distribution: ${{ vars.JAVA_DISTRO }}