Skip to content

Commit 003b68a

Browse files
srprashXinRanZhAWS
authored andcommitted
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 3aec203 commit 003b68a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.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)