From 7d365e513a2de3908394f13af7fba54da8c86d05 Mon Sep 17 00:00:00 2001 From: Thamindu Aluthwala Date: Thu, 12 Sep 2024 13:34:07 +0530 Subject: [PATCH] update upload-artifact version --- .github/workflows/dependency-updater-7.yml | 4 ++-- .github/workflows/dependency-updater.yml | 4 ++-- .github/workflows/fapi-oidc-conformance-test.yml | 4 ++-- .github/workflows/migration-automation.yml | 12 ++++++------ .github/workflows/oidc-conformance-test.yml | 14 +++++++------- .github/workflows/pr-builder-test-JDK11-7.yml | 10 +++++----- .github/workflows/pr-builder-test-JDK11.yml | 10 +++++----- 7 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/dependency-updater-7.yml b/.github/workflows/dependency-updater-7.yml index 2d0fb437713..6989aeeef74 100644 --- a/.github/workflows/dependency-updater-7.yml +++ b/.github/workflows/dependency-updater-7.yml @@ -146,14 +146,14 @@ jobs: fi - name: Archive dependency diff file if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: dependency-updates-diff path: | ${{steps.builder_step.outputs.REPO_NAME}}/dependency_updates.diff - name: Archive maven-build-log file if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: mvn-build.log path: | diff --git a/.github/workflows/dependency-updater.yml b/.github/workflows/dependency-updater.yml index e041ec451da..284ac65fe0a 100644 --- a/.github/workflows/dependency-updater.yml +++ b/.github/workflows/dependency-updater.yml @@ -148,14 +148,14 @@ jobs: fi - name: Archive dependency diff file if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: dependency-updates-diff path: | ${{steps.builder_step.outputs.REPO_NAME}}/dependency_updates.diff - name: Archive maven-build-log file if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: mvn-build.log path: | diff --git a/.github/workflows/fapi-oidc-conformance-test.yml b/.github/workflows/fapi-oidc-conformance-test.yml index b39f71be3c2..68d9d0deb55 100644 --- a/.github/workflows/fapi-oidc-conformance-test.yml +++ b/.github/workflows/fapi-oidc-conformance-test.yml @@ -224,14 +224,14 @@ jobs: fi - name: Archive test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: test-results path: ./*test_results.zip - name: Archive test logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: test-logs diff --git a/.github/workflows/migration-automation.yml b/.github/workflows/migration-automation.yml index b5827e9d05a..eead65a5089 100644 --- a/.github/workflows/migration-automation.yml +++ b/.github/workflows/migration-automation.yml @@ -124,7 +124,7 @@ jobs: if: ${{ always() }} - name: Upload Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: "logs-${{ github.event.inputs.currentVersion }}-${{ github.event.inputs.migratingVersion }}-${{ github.event.inputs.database }}-${{ github.event.inputs.os }}" @@ -150,7 +150,7 @@ jobs: if: ${{ always() }} - name: Upload Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: "logs-${{ github.event.inputs.currentVersion }}-${{ github.event.inputs.migratingVersion }}-${{ github.event.inputs.database }}-${{ github.event.inputs.os }}" @@ -204,7 +204,7 @@ jobs: if: ${{ always() }} - name: Upload Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: "logs-${{ github.event.inputs.currentVersion }}-${{ github.event.inputs.migratingVersion }}-${{ github.event.inputs.database }}-${{ github.event.inputs.os }}" @@ -229,7 +229,7 @@ jobs: if: ${{ always() }} - name: Upload Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: "logs-${{ github.event.inputs.currentVersion }}-${{ github.event.inputs.migratingVersion }}-${{ github.event.inputs.database }}-${{ github.event.inputs.os }}" @@ -276,7 +276,7 @@ jobs: if: ${{ always() }} - name: Upload Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: "logs-${{ github.event.inputs.currentVersion }}-${{ github.event.inputs.migratingVersion }}-${{ github.event.inputs.database }}-${{ github.event.inputs.os }}" @@ -324,7 +324,7 @@ jobs: if: ${{ always() }} - name: Upload Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: "logs-${{ github.event.inputs.currentVersion }}-${{ github.event.inputs.migratingVersion }}-${{ github.event.inputs.database }}-${{ github.event.inputs.os }}" diff --git a/.github/workflows/oidc-conformance-test.yml b/.github/workflows/oidc-conformance-test.yml index 657fcecd507..3aaf8f72d36 100644 --- a/.github/workflows/oidc-conformance-test.yml +++ b/.github/workflows/oidc-conformance-test.yml @@ -51,7 +51,7 @@ jobs: pip3 install psutil pip3 install httpx pip3 install httplib2 - + - name: Clone conformance suite run: | sudo snap install jq @@ -67,7 +67,7 @@ jobs: fi echo ">>> Selected conformance suite branch: $CONFORMANCE_SUITE_BRANCH" git clone --depth 1 --branch ${CONFORMANCE_SUITE_BRANCH} https://gitlab.com/openid/conformance-suite.git - + - name: Adding extra hosts to docker-compose-dev.yml run: sed -i '/^ volumes.*/i \ \ \ \ extra_hosts:\n \ \ \ \ - "localhost:\$IP\"' ./conformance-suite/docker-compose-dev.yml @@ -152,7 +152,7 @@ jobs: sudo curl -L "https://github.com/docker/compose/releases/download/$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r .tag_name)/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose docker-compose --version - + - name: Run Conformance Suite run: | DOCKER_COMPOSE_FILE=./docker-compose-dev.yml @@ -171,7 +171,7 @@ jobs: id: stop_is run: | sh ./product-is/oidc-conformance-tests/${{ env.PRODUCT_IS_DIR }}/bin/wso2server.sh stop - + - name: Test Results run: | IS_SUCCESSFUL=false @@ -193,14 +193,14 @@ jobs: fi - name: Archive test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: test-results path: ./*test_results.zip - name: Archive test logs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: test-logs @@ -212,7 +212,7 @@ jobs: with: name: jacoco-exec path: ./jacoco.exec - + - name: Send Email if: always() run: | diff --git a/.github/workflows/pr-builder-test-JDK11-7.yml b/.github/workflows/pr-builder-test-JDK11-7.yml index 63fa41bc3dc..75aab52ac5c 100644 --- a/.github/workflows/pr-builder-test-JDK11-7.yml +++ b/.github/workflows/pr-builder-test-JDK11-7.yml @@ -76,7 +76,7 @@ jobs: bash pr-builder-7.sh - name: Archive PR diff file if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: repo-pr-diff path: | @@ -84,7 +84,7 @@ jobs: if-no-files-found: warn - name: Archive repo mvn build log if: always() && steps.builder_step.outputs.REPO_NAME != 'product-is' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: repo-mvn-build-log path: | @@ -92,7 +92,7 @@ jobs: if-no-files-found: warn - name: Archive repo surefire reports if: always() && steps.builder_step.outputs.REPO_NAME != 'product-is' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: repo-surefire-report path: | @@ -100,7 +100,7 @@ jobs: if-no-files-found: warn - name: Archive product-is mvn build log if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: product-is-mvn-build-log path: | @@ -108,7 +108,7 @@ jobs: if-no-files-found: warn - name: Archive product-is surefire reports if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: product-is-surefire-report path: | diff --git a/.github/workflows/pr-builder-test-JDK11.yml b/.github/workflows/pr-builder-test-JDK11.yml index 4e7aa32a2c0..8dba76647fc 100644 --- a/.github/workflows/pr-builder-test-JDK11.yml +++ b/.github/workflows/pr-builder-test-JDK11.yml @@ -79,7 +79,7 @@ jobs: bash pr-builder.sh - name: Archive PR diff file if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: repo-pr-diff path: | @@ -87,7 +87,7 @@ jobs: if-no-files-found: warn - name: Archive repo mvn build log if: always() && steps.builder_step.outputs.REPO_NAME != 'product-is' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: repo-mvn-build-log path: | @@ -95,7 +95,7 @@ jobs: if-no-files-found: warn - name: Archive repo surefire reports if: always() && steps.builder_step.outputs.REPO_NAME != 'product-is' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: repo-surefire-report path: | @@ -103,7 +103,7 @@ jobs: if-no-files-found: warn - name: Archive product-is mvn build log if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: product-is-mvn-build-log path: | @@ -111,7 +111,7 @@ jobs: if-no-files-found: warn - name: Archive product-is surefire reports if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: product-is-surefire-report path: |