From 4491e196b0cb34d72b3f3eb42861538c3843bed8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Sep 2024 17:41:52 +0000 Subject: [PATCH 1/2] Bump download and upload-artifact to v3 (#620) (#621) https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/ (cherry picked from commit 14ffee999e0fca630454a4c1915dc7b599e82690) Signed-off-by: Marc Handalian Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] (cherry picked from commit 2ac7af6434efa3890940a40e8013f6fecb06d7ac) Signed-off-by: github-actions[bot] --- .github/workflows/build.yml | 12 ++++++------ .github/workflows/multi-node-test-workflow.yml | 2 +- .github/workflows/release-workflow.yml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 60cf75d1..1888c15b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: - 11 - 17 # Job name - name: Build Asynchronous Search + name: Linux - Build Asynchronous Search # This job runs on Linux. runs-on: ubuntu-latest steps: @@ -80,7 +80,7 @@ jobs: ./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="docker-cluster" fi - name: Upload failed logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: failure() with: name: logs @@ -101,7 +101,7 @@ jobs: path: asynchronous-search-artifacts windows-build: # Job name - name: Build Asynchronous Search + name: Windows - Build Asynchronous Search # This job runs on Windows. runs-on: windows-latest steps: @@ -123,13 +123,13 @@ jobs: cp ./build/distributions/*.zip asynchronous-search-artifacts # This step uses the upload-artifact Github action: https://github.com/actions/upload-artifact - name: Upload Artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: asynchronous-search-plugin-windows path: asynchronous-search-artifacts mac-os-build: # Job name - name: Build Asynchronous Search + name: MacOS - Build Asynchronous Search # This job runs on Mac OS. runs-on: macos-latest steps: @@ -151,7 +151,7 @@ jobs: cp ./build/distributions/*.zip asynchronous-search-artifacts # This step uses the upload-artifact Github action: https://github.com/actions/upload-artifact - name: Upload Artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: asynchronous-search-plugin-mac path: asynchronous-search-artifacts diff --git a/.github/workflows/multi-node-test-workflow.yml b/.github/workflows/multi-node-test-workflow.yml index 60bfa30b..1fc47358 100644 --- a/.github/workflows/multi-node-test-workflow.yml +++ b/.github/workflows/multi-node-test-workflow.yml @@ -33,7 +33,7 @@ jobs: echo "Running backwards compatibility tests ..." ./gradlew bwcTestSuite -Dtests.security.manager=false - name: Upload failed logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: failure() with: name: logs diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml index 848f345f..318b3823 100644 --- a/.github/workflows/release-workflow.yml +++ b/.github/workflows/release-workflow.yml @@ -116,7 +116,7 @@ jobs: asset_content_type: application/zip - name: Upload Workflow Artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: asynchronous-search-plugin path: asynchronous-search-artifacts From 871acae13e53898c9f51ab88444d38ef086a61cb Mon Sep 17 00:00:00 2001 From: Marc Handalian Date: Tue, 17 Sep 2024 10:53:56 -0700 Subject: [PATCH 2/2] bump upload-artifact@v1 Signed-off-by: Marc Handalian --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1888c15b..ad5d8c89 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -88,14 +88,14 @@ jobs: - name: Create Artifact Path run: | mkdir -p asynchronous-search-artifacts - cp ./build/distributions/*.zip asynchronous-search-artifacts + cp ./build/distributions/*.zip asynchronous-search-artifacts - name: Uploads coverage uses: codecov/codecov-action@v1.2.1 with: token: ${{ secrets.CODECOV_TOKEN }} # This step uses the upload-artifact Github action: https://github.com/actions/upload-artifact - name: Upload Artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: asynchronous-search-plugin-ubuntu path: asynchronous-search-artifacts