Skip to content

Commit 047f41a

Browse files
authored
bump up the upload/download artifact action to v4 (#1013)
*Issue #, if available:* Same as #1012 but for the release 1.33.x branch. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 329ecd4 commit 047f41a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/main-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ jobs:
241241
run: |
242242
./build-layer.sh
243243
- name: Upload layer zip to GitHub Actions
244-
uses: actions/upload-artifact@v3
244+
uses: actions/upload-artifact@v4
245245
with:
246246
name: aws-opentelemetry-java-layer.zip
247247
path: lambda-layer/build/distributions/aws-opentelemetry-java-layer.zip

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