From 7d307d5d5dcb94c71467fb26a102a8d939412bf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=20Hu=CC=88sers?= Date: Wed, 20 Mar 2024 11:00:54 +0100 Subject: [PATCH 1/3] feature: Add a fixed Databroker version for PR builds --- .github/workflows/build-pull-request.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-pull-request.yaml b/.github/workflows/build-pull-request.yaml index 25e03247..a39ff05c 100755 --- a/.github/workflows/build-pull-request.yaml +++ b/.github/workflows/build-pull-request.yaml @@ -33,3 +33,4 @@ jobs: with: upload-test-reports: true upload-code-coverage-reports: true + databroker-version: "0.4.2" From 1a3faeedfe0e377f74e8e90ac7e746a4850340a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=20Hu=CC=88sers?= Date: Wed, 20 Mar 2024 12:19:53 +0100 Subject: [PATCH 2/3] chore: Update action to upload-artifact@v4 --- .github/actions/run-tests/action.yml | 4 ++-- .github/workflows/build-main.yaml | 4 ++-- .github/workflows/build-pull-request.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/run-tests/action.yml b/.github/actions/run-tests/action.yml index 07f69d89..72fbe127 100644 --- a/.github/actions/run-tests/action.yml +++ b/.github/actions/run-tests/action.yml @@ -26,7 +26,7 @@ runs: - name: Upload Test Reports if: ${{ inputs.upload-test-reports == 'true' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-reports path: ${{ github.workspace }}/**/reports/tests/*/ @@ -40,7 +40,7 @@ runs: - name: Upload Code Coverage Report if: ${{ inputs.upload-code-coverage-reports == 'true' }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: code-coverage path: ${{ github.workspace }}/build/reports/jacoco/jacocoRootReport/html/* diff --git a/.github/workflows/build-main.yaml b/.github/workflows/build-main.yaml index d8ffabc4..c29ac888 100755 --- a/.github/workflows/build-main.yaml +++ b/.github/workflows/build-main.yaml @@ -31,7 +31,7 @@ jobs: gradle_task: app:assembleRelease - name: Archive .apk file - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: kuksa_sdk_testapp.apk path: app/build/outputs/apk/release/app-release.apk @@ -45,7 +45,7 @@ jobs: upload-code-coverage-reports: true - name: Archive changelog - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: CHANGELOG.md path: CHANGELOG.md diff --git a/.github/workflows/build-pull-request.yaml b/.github/workflows/build-pull-request.yaml index a39ff05c..e0b8861c 100755 --- a/.github/workflows/build-pull-request.yaml +++ b/.github/workflows/build-pull-request.yaml @@ -21,7 +21,7 @@ jobs: - name: Upload Detekt Reports if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: detekt-reports path: ${{ github.workspace }}/build/reports/detekt From 95d76186b9814113878eafc7ff910fbd9cf70e3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=20Hu=CC=88sers?= Date: Wed, 20 Mar 2024 12:40:06 +0100 Subject: [PATCH 3/3] chore: Use latest instead of a fixed release tag --- .github/workflows/build-pull-request.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-pull-request.yaml b/.github/workflows/build-pull-request.yaml index e0b8861c..028e087c 100755 --- a/.github/workflows/build-pull-request.yaml +++ b/.github/workflows/build-pull-request.yaml @@ -33,4 +33,4 @@ jobs: with: upload-test-reports: true upload-code-coverage-reports: true - databroker-version: "0.4.2" + databroker-version: "latest"