Skip to content

Commit e638b93

Browse files
authored
Revert upload and download artifact to v3 (#921)
1 parent 1bfd749 commit e638b93

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,10 @@ jobs:
103103
--action lambda:GetLayerVersion
104104
- name: upload layer arn artifact
105105
if: ${{ success() }}
106-
uses: actions/upload-artifact@v4
106+
uses: actions/upload-artifact@v3
107107
with:
108108
name: ${{ env.LAYER_NAME }}
109109
path: ${{ env.LAYER_NAME }}/${{ matrix.aws_region }}
110-
overwrite: true
111110
- name: clean s3
112111
if: always()
113112
run: |
@@ -127,7 +126,7 @@ jobs:
127126
run: |
128127
echo LAYER_KIND=$(echo "${{ github.event.inputs.layer_name_keyword }}" | cut -d - -f 3) | tee --append $GITHUB_ENV
129128
- name: download layerARNs
130-
uses: actions/download-artifact@v4
129+
uses: actions/download-artifact@v3
131130
with:
132131
name: ${{ env.LAYER_NAME }}
133132
path: ${{ env.LAYER_NAME }}
@@ -171,11 +170,10 @@ jobs:
171170
terraform fmt layer.tf
172171
cat layer.tf
173172
- name: upload layer tf file
174-
uses: actions/upload-artifact@v4
173+
uses: actions/upload-artifact@v3
175174
with:
176175
name: layer_${{ matrix.architecture }}.tf
177176
path: layer.tf
178-
overwrite: true
179177
smoke-test:
180178
name: Smoke Test - (${{ matrix.aws_region }} - ${{ github.event.inputs.layer_name_keyword }} - ${{ matrix.architecture }})
181179
needs: generate-note
@@ -277,7 +275,7 @@ jobs:
277275
go-version: '~1.21.10'
278276
check-latest: true
279277
- name: download layer tf file
280-
uses: actions/download-artifact@v4
278+
uses: actions/download-artifact@v3
281279
with:
282280
name: layer_${{ matrix.architecture }}.tf
283281
- name: Get terraform directory

0 commit comments

Comments
 (0)