Skip to content

Commit 99a1b27

Browse files
committed
update upload-artifact to v4
1 parent bf2bb15 commit 99a1b27

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/fix.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,13 @@ jobs:
107107
run: node lib/actions/fix-yaml-config.js
108108
working-directory: scripts
109109
- name: Upload YAML config
110-
uses: actions/upload-artifact@v3
110+
uses: actions/upload-artifact@v4
111111
with:
112112
name: ${{ env.TF_WORKSPACE }}.yml
113113
path: github/${{ env.TF_WORKSPACE }}.yml
114114
if-no-files-found: error
115115
retention-days: 1
116+
overwrite: true
116117
push:
117118
needs: [prepare, fix]
118119
permissions:

.github/workflows/plan.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,13 @@ jobs:
9090
run: terraform plan -refresh=false -lock=false -out="${TF_WORKSPACE}.tfplan" -no-color
9191
working-directory: terraform
9292
- name: Upload terraform plan
93-
uses: actions/upload-artifact@v3
93+
uses: actions/upload-artifact@v4
9494
with:
9595
name: ${{ env.TF_WORKSPACE }}_${{ github.event.pull_request.head.sha || github.sha }}.tfplan
9696
path: terraform/${{ env.TF_WORKSPACE }}.tfplan
9797
if-no-files-found: error
9898
retention-days: 90
99+
overwrite: true
99100
comment:
100101
needs: [prepare, plan]
101102
if: github.event_name == 'pull_request_target'

0 commit comments

Comments
 (0)