Update upload- and download-artifact versions in workflows (#51073)
* Update build zip workflow fo upload artifact v4 * Update download- and upload-artifact to v4 in code freeze workflow
This commit is contained in:
parent
ad8a25bd63
commit
bd1bbfd63c
|
@ -31,7 +31,7 @@ jobs:
|
||||||
run: unzip plugins/woocommerce/woocommerce.zip -d zipfile
|
run: unzip plugins/woocommerce/woocommerce.zip -d zipfile
|
||||||
|
|
||||||
- name: Upload the zip file as an artifact
|
- name: Upload the zip file as an artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -186,7 +186,7 @@ jobs:
|
||||||
run: bash bin/build-zip.sh
|
run: bash bin/build-zip.sh
|
||||||
|
|
||||||
- name: Upload the zip file as an artifact
|
- name: Upload the zip file as an artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
@ -216,7 +216,7 @@ jobs:
|
||||||
run: bash bin/build-zip.sh
|
run: bash bin/build-zip.sh
|
||||||
|
|
||||||
- name: Upload the zip file as an artifact
|
- name: Upload the zip file as an artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
@ -231,7 +231,7 @@ jobs:
|
||||||
if: ${{ needs.code-freeze-prep.outputs.isTodayMonthlyFreeze == 'yes' }}
|
if: ${{ needs.code-freeze-prep.outputs.isTodayMonthlyFreeze == 'yes' }}
|
||||||
steps:
|
steps:
|
||||||
- id: download
|
- id: download
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
@ -279,7 +279,7 @@ jobs:
|
||||||
working-directory: tools/monorepo-utils
|
working-directory: tools/monorepo-utils
|
||||||
|
|
||||||
- id: download
|
- id: download
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
@ -300,7 +300,7 @@ jobs:
|
||||||
if: ${{ needs.code-freeze-prep.outputs.isTodayAcceleratedFreeze == 'yes' }}
|
if: ${{ needs.code-freeze-prep.outputs.isTodayAcceleratedFreeze == 'yes' }}
|
||||||
steps:
|
steps:
|
||||||
- id: download
|
- id: download
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
@ -348,7 +348,7 @@ jobs:
|
||||||
working-directory: tools/monorepo-utils
|
working-directory: tools/monorepo-utils
|
||||||
|
|
||||||
- id: download
|
- id: download
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
@ -369,7 +369,7 @@ jobs:
|
||||||
if: ${{ needs.code-freeze-prep.outputs.isTodayMonthlyFreeze == 'yes' }}
|
if: ${{ needs.code-freeze-prep.outputs.isTodayMonthlyFreeze == 'yes' }}
|
||||||
steps:
|
steps:
|
||||||
- id: download
|
- id: download
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
@ -380,7 +380,7 @@ jobs:
|
||||||
run: unzip ${{ steps.download.outputs.download-path }}/woocommerce.zip -d zipfile
|
run: unzip ${{ steps.download.outputs.download-path }}/woocommerce.zip -d zipfile
|
||||||
|
|
||||||
- name: Upload the zip file as an artifact
|
- name: Upload the zip file as an artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
@ -395,7 +395,7 @@ jobs:
|
||||||
if: ${{ needs.code-freeze-prep.outputs.isTodayAcceleratedFreeze == 'yes' }}
|
if: ${{ needs.code-freeze-prep.outputs.isTodayAcceleratedFreeze == 'yes' }}
|
||||||
steps:
|
steps:
|
||||||
- id: download
|
- id: download
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
@ -406,7 +406,7 @@ jobs:
|
||||||
run: unzip ${{ steps.download.outputs.download-path }}/woocommerce.zip -d zipfile
|
run: unzip ${{ steps.download.outputs.download-path }}/woocommerce.zip -d zipfile
|
||||||
|
|
||||||
- name: Upload the zip file as an artifact
|
- name: Upload the zip file as an artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue