Partially update upload/download artifact action

This commit is contained in:
Leroy Hopson 2024-02-23 23:57:20 +13:00
parent b9d9a4b1af
commit 11e42a820a
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA

View file

@ -27,7 +27,7 @@ jobs:
with: with:
godot-version: v4.2.1-stable godot-version: v4.2.1-stable
- name: Upload imports - name: Upload imports
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: imports-${{ matrix.platform }} name: imports-${{ matrix.platform }}
path: .godot/ path: .godot/
@ -232,7 +232,7 @@ jobs:
npx serve ../../docs/demo -p 3000 & npx serve ../../docs/demo -p 3000 &
npx cypress run npx cypress run
- name: Upload cypress artifacts (on failure) - name: Upload cypress artifacts (on failure)
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
if: ${{ failure() }} if: ${{ failure() }}
with: with:
name: cypress-artifacts name: cypress-artifacts
@ -240,7 +240,7 @@ jobs:
test/html5/cypress/screenshots test/html5/cypress/screenshots
test/html5/cypress/videos test/html5/cypress/videos
- name: Upload export - name: Upload export
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: html5-demo name: html5-demo
path: docs/demo path: docs/demo
@ -290,7 +290,7 @@ jobs:
checkName: Import Assets (${{ matrix.platform }}) checkName: Import Assets (${{ matrix.platform }})
ref: ${{ github.event.pull_request.head.sha || github.sha }} ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: Download imports - name: Download imports
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: imports-${{ matrix.platform }} name: imports-${{ matrix.platform }}
path: .godot path: .godot