test upload artifiact action
This commit is contained in:
@@ -101,7 +101,7 @@ jobs:
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.1'
|
||||
php-version: '8.2'
|
||||
extensions: mbstring, intl, sqlite, bcmath
|
||||
coverage: none
|
||||
|
||||
@@ -127,9 +127,15 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Run phpstan
|
||||
run: vendor/bin/phpstan analyse src tests --error-format=github
|
||||
run: vendor/bin/phpstan analyse src tests --error-format=github > phpstan.errors
|
||||
|
||||
- name: Run phpcs
|
||||
run: composer cs-check
|
||||
|
||||
- run: mkdir -p art
|
||||
- run: echo hello > art/world.txt
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: my-artifact
|
||||
path: art/world.txt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user