-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport 2.11] [Backport 2.x] Bump download and upload-artifact to v3 (
#635) * 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 14ffee9) Signed-off-by: Marc Handalian <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> (cherry picked from commit 2ac7af6) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * bump v1 version Signed-off-by: Marc Handalian <[email protected]> --------- Signed-off-by: Marc Handalian <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Marc Handalian <[email protected]>
- Loading branch information
1 parent
bb22891
commit 65a7bd6
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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,28 +80,28 @@ 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 | ||
path: build/testclusters/integTest-*/logs/* | ||
- 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/[email protected] | ||
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 | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters