Skip to content

Commit

Permalink
Update artifact action to v4 (#686)
Browse files Browse the repository at this point in the history
* Update artifact action to v4

Signed-off-by: Brandon Shien <[email protected]>

* Add more

Signed-off-by: Peter Zhu <[email protected]>

* Add more

Signed-off-by: Peter Zhu <[email protected]>

---------

Signed-off-by: Brandon Shien <[email protected]>
Signed-off-by: Peter Zhu <[email protected]>
Co-authored-by: Peter Zhu <[email protected]>
  • Loading branch information
bshien and peterzhuamazon authored Dec 3, 2024
1 parent 3f7de96 commit d578580
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 27 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,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@v4
if: failure()
with:
name: logs
Expand All @@ -89,9 +89,9 @@ jobs:
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@v4
with:
name: asynchronous-search-plugin-ubuntu
name: asynchronous-search-plugin-ubuntu-${{ matrix.java }}
path: asynchronous-search-artifacts
windows-build:
# Job name
Expand All @@ -117,9 +117,9 @@ 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@v4
with:
name: asynchronous-search-plugin-windows
name: asynchronous-search-plugin-windows-${{ matrix.java }}
path: asynchronous-search-artifacts
mac-os-build:
# Job name
Expand All @@ -145,7 +145,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@v4
with:
name: asynchronous-search-plugin-mac
name: asynchronous-search-plugin-mac-${{ matrix.java }}
path: asynchronous-search-artifacts
18 changes: 0 additions & 18 deletions .github/workflows/dco-check.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/multi-node-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@v4
if: failure()
with:
name: logs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
asset_content_type: application/zip

- name: Upload Workflow Artifacts
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: asynchronous-search-plugin
path: asynchronous-search-artifacts
Expand Down

0 comments on commit d578580

Please sign in to comment.