From 46f4f61eb4ca2402d26e980932adba79a834496a Mon Sep 17 00:00:00 2001 From: Mark Date: Sun, 13 Aug 2023 00:14:26 -0400 Subject: [PATCH] ci(github): fix workflow build.yml --- .github/workflows/build.yml | 4 +++- composer.json | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e1d36fd..b7b5891 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: | diff --git a/composer.json b/composer.json index cf5eabe..11918ac 100644 --- a/composer.json +++ b/composer.json @@ -44,7 +44,7 @@ }, "scripts": { "build": [ - "@php vendor/bin/jane-openapi generate", + "vendor/bin/jane-openapi generate", "cp -r src/ lib/" ], "clean": [ @@ -52,7 +52,7 @@ ], "test": [ "composer dumpautoload", - "@php vendor/bin/pest" + "vendor/bin/pest" ] }, "version": "1.0.0-alpha"