Skip to content

Commit

Permalink
Revert upload and download artifact to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
humivo committed May 16, 2024
1 parent 1bfd749 commit 4a0c77c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,10 @@ jobs:
--action lambda:GetLayerVersion
- name: upload layer arn artifact
if: ${{ success() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: ${{ env.LAYER_NAME }}
path: ${{ env.LAYER_NAME }}/${{ matrix.aws_region }}
overwrite: true
- name: clean s3
if: always()
run: |
Expand All @@ -127,7 +126,7 @@ jobs:
run: |
echo LAYER_KIND=$(echo "${{ github.event.inputs.layer_name_keyword }}" | cut -d - -f 3) | tee --append $GITHUB_ENV
- name: download layerARNs
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: ${{ env.LAYER_NAME }}
path: ${{ env.LAYER_NAME }}
Expand Down Expand Up @@ -171,11 +170,10 @@ jobs:
terraform fmt layer.tf
cat layer.tf
- name: upload layer tf file
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: layer_${{ matrix.architecture }}.tf
path: layer.tf
overwrite: true
smoke-test:
name: Smoke Test - (${{ matrix.aws_region }} - ${{ github.event.inputs.layer_name_keyword }} - ${{ matrix.architecture }})
needs: generate-note
Expand Down Expand Up @@ -277,7 +275,7 @@ jobs:
go-version: '~1.21.10'
check-latest: true
- name: download layer tf file
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: layer_${{ matrix.architecture }}.tf
- name: Get terraform directory
Expand Down

0 comments on commit 4a0c77c

Please sign in to comment.