Skip to content

Commit 1578402

Browse files
committed
Test a different way to upload artifacts
1 parent aa5e89a commit 1578402

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
coverage: none
4444

4545
- name: Composer install
46-
uses: "ramsey/composer-install@v2"
46+
uses: "ramsey/composer-install@v4"
4747

4848
- name: JS install
4949
run: |
@@ -56,9 +56,15 @@ jobs:
5656
5757
5858
- name: Upload artifact
59-
uses: actions/upload-pages-artifact@v5
59+
uses: actions/upload-artifact@v7
60+
id: artifact-upload-step
6061
with:
62+
name: website
6163
path: build_production/
64+
retention-days: 2
65+
66+
- name: Output artifact ID
67+
run: echo 'Artifact ID is ${{ steps.artifact-upload-step.outputs.artifact-id }}'
6268

6369
# Deployment job
6470
deploy:

0 commit comments

Comments
 (0)