Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade upload-artifact to version 4 #959

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .github/workflows/notifications-test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ name: Test and Build Notifications

on: [push, pull_request]

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
Get-CI-Image-Tag:
uses: opensearch-project/opensearch-build/.github/workflows/get-ci-image-tag.yml@main
Expand Down Expand Up @@ -63,15 +66,15 @@ jobs:
shell: bash

- name: Upload Artifacts for notifications plugin
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: notifications-plugin-${{ matrix.os }}
name: notifications-plugin-${{ matrix.os }}-${{ matrix.java }}
path: notifications-build/notifications

- name: Upload Artifacts for notifications-core plugin
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: notifications-core-plugin-${{ matrix.os }}
name: notifications-core-plugin-${{ matrix.os }}-${{ matrix.java }}
path: notifications-build/notifications-core

build-windows-macos:
Expand Down Expand Up @@ -129,13 +132,13 @@ jobs:
shell: bash

- name: Upload Artifacts for notifications plugin
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: notifications-plugin-${{ matrix.os }}
name: notifications-plugin-${{ matrix.os }}-${{ matrix.java }}
path: notifications-build/notifications

- name: Upload Artifacts for notifications-core plugin
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: notifications-core-plugin-${{ matrix.os }}
name: notifications-core-plugin-${{ matrix.os }}-${{ matrix.java }}
path: notifications-build/notifications-core
3 changes: 3 additions & 0 deletions .github/workflows/security-notifications-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ name: Security Test and Build Notifications

on: [push, pull_request]

env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
build:
strategy:
Expand Down
Loading