Skip to content

Commit 2740c56

Browse files
authored
bump up the upload-download artifact action to v4 (#1012)
*Issue #, if available:* The `upload-artifacts` and the `download-artifacts` v3 are deprecated and causing the workflows to be stopped. https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 3645a8a commit 2740c56

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/application-signals-e2e-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
role-to-assume: arn:aws:iam::${{ secrets.APPLICATION_SIGNALS_E2E_TEST_ACCOUNT_ID }}:role/${{ secrets.APPLICATION_SIGNALS_E2E_TEST_ROLE_NAME }}
3232
aws-region: us-east-1
3333

34-
- uses: actions/download-artifact@v3
34+
- uses: actions/download-artifact@v4
3535
with:
3636
name: aws-opentelemetry-agent.jar
3737

.github/workflows/main-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
snapshot-ecr-role: ${{ secrets.JAVA_INSTRUMENTATION_SNAPSHOT_ECR }}
129129

130130
- name: Upload to GitHub Actions
131-
uses: actions/upload-artifact@v3
131+
uses: actions/upload-artifact@v4
132132
with:
133133
name: aws-opentelemetry-agent.jar
134134
path: otelagent/build/libs/aws-opentelemetry-agent-*.jar

.github/workflows/nightly-upstream-snapshot-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
snapshot-ecr-role: ${{ secrets.JAVA_INSTRUMENTATION_SNAPSHOT_ECR }}
9696

9797
- name: Upload to GitHub Actions
98-
uses: actions/upload-artifact@v3
98+
uses: actions/upload-artifact@v4
9999
with:
100100
name: aws-opentelemetry-agent.jar
101101
path: otelagent/build/libs/aws-opentelemetry-agent-*.jar

.github/workflows/release-lambda.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
./build-layer.sh
5353
5454
- name: Upload layer
55-
uses: actions/upload-artifact@v3
55+
uses: actions/upload-artifact@v4
5656
with:
5757
name: aws-opentelemetry-java-layer.zip
5858
path: lambda-layer/build/distributions/aws-opentelemetry-java-layer.zip
@@ -97,7 +97,7 @@ jobs:
9797
echo BUCKET_NAME=java-lambda-layer-${{ github.run_id }}-${{ matrix.aws_region }} | tee --append $GITHUB_ENV
9898
9999
- name: download layer.zip
100-
uses: actions/download-artifact@v3
100+
uses: actions/download-artifact@v4
101101
with:
102102
name: aws-opentelemetry-java-layer.zip
103103

@@ -138,7 +138,7 @@ jobs:
138138
139139
- name: upload layer arn artifact
140140
if: ${{ success() }}
141-
uses: actions/upload-artifact@v3
141+
uses: actions/upload-artifact@v4
142142
with:
143143
name: ${{ env.LAYER_NAME }}
144144
path: ${{ env.LAYER_NAME }}/${{ matrix.aws_region }}
@@ -158,7 +158,7 @@ jobs:
158158
- uses: hashicorp/setup-terraform@v2
159159

160160
- name: download layerARNs
161-
uses: actions/download-artifact@v3
161+
uses: actions/download-artifact@v4
162162
with:
163163
name: ${{ env.LAYER_NAME }}
164164
path: ${{ env.LAYER_NAME }}
@@ -201,7 +201,7 @@ jobs:
201201
cat layer.tf
202202
203203
- name: upload layer tf file
204-
uses: actions/upload-artifact@v3
204+
uses: actions/upload-artifact@v4
205205
with:
206206
name: layer.tf
207207
path: layer.tf

0 commit comments

Comments
 (0)