Skip to content

Commit

Permalink
ci(github): fix workflow build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Aug 13, 2023
1 parent 0820224 commit 46f4f61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
run: composer install --no-interaction --prefer-dist --optimize-autoloader

- name: Generate code
run: composer build
run: |
composer build
cp -r src/ lib/
- name: Check Git working tree
run: |
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@
},
"scripts": {
"build": [
"@php vendor/bin/jane-openapi generate",
"vendor/bin/jane-openapi generate",
"cp -r src/ lib/"
],
"clean": [
"rm -rf lib/"
],
"test": [
"composer dumpautoload",
"@php vendor/bin/pest"
"vendor/bin/pest"
]
},
"version": "1.0.0-alpha"
Expand Down

0 comments on commit 46f4f61

Please sign in to comment.