Skip to content

Commit

Permalink
Update Github artifact actions to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
m1r0 committed Oct 31, 2024
1 parent 1217402 commit 45e7595
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Plugin Build

on:
on:
- pull_request
- workflow_call

Expand Down Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Decompress plugin
run: unzip sensei-lms.zip -d sensei-lms
- name: Store Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sensei-lms-${{ github.event.pull_request.head.sha }}
path: ${{ github.workspace }}/sensei-lms/
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
php: [7.4, 8.2]
steps:
- name: Download Build Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sensei-lms-${{ github.event.pull_request.head.sha }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependencies-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
run: npm run build:combine-assets
if: steps.dist-cache.outputs.cache-hit != 'true'
- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: combined-assets
path: ${{ github.workspace }}/assets/dist
Expand All @@ -69,7 +69,7 @@ jobs:
- name: Build Combined Assets
run: npm run build:combine-assets
- name: Download assets (trunk)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: combined-assets
path: dist-trunk
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
path: node_modules/
key: ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }}


- name: Install PHP dependencies
uses: ./.github/actions/install-php
Expand All @@ -44,7 +44,7 @@ jobs:
run: npx playwright install --with-deps chromium

- name: Start wp-env
run: npm run wp-env start
run: npm run wp-env start

- name: Run Playwright tests with @setup annotation
run: CI=true npm run test:e2e:setup-only
Expand All @@ -53,7 +53,7 @@ jobs:
run: CI=true npm run test:e2e

- name: Archive report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: playwright-report
Expand Down

0 comments on commit 45e7595

Please sign in to comment.