From b5874371b1f259fc3cece0ae05b9e85cf667ba8d Mon Sep 17 00:00:00 2001 From: netkas Date: Mon, 23 Sep 2024 13:53:02 -0400 Subject: [PATCH] Remove redundant --build-source flag from build steps --- .github/workflows/ci.yml | 8 ++++---- Makefile | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 29623cd..b547f1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,12 +46,12 @@ jobs: echo "NCC build directory not found" exit 1 fi - php "$NCC_DIR/INSTALL" --auto --install-composer + php "$NCC_DIR/INSTALL" --auto cd .. && rm -rf ncc - name: Build project run: | - ncc build --config release --build-source --log-level debug + ncc build --config release --log-level debug - name: Upload build artifacts uses: actions/upload-artifact@v4 @@ -106,12 +106,12 @@ jobs: echo "NCC build directory not found" exit 1 fi - php "$NCC_DIR/INSTALL" --auto --install-composer + php "$NCC_DIR/INSTALL" --auto cd .. && rm -rf ncc - name: Install NCC packages run: | - ncc package install --package="ncc-build/net.nosial.configlib.ncc" --reinstall -y --log-level debug + ncc package install --package="ncc-build/net.nosial.configlib.ncc" --build-source --reinstall -y --log-level debug - name: Run PHPUnit tests run: | diff --git a/Makefile b/Makefile index 86f53a1..5f919db 100644 --- a/Makefile +++ b/Makefile @@ -9,10 +9,10 @@ all: build # Build Steps build: - ncc build --config=$(CONFIG) --build-source --log-level $(LOG_LEVEL) + ncc build --config=$(CONFIG) --log-level $(LOG_LEVEL) install: - ncc package install --package=$(PACKAGE) --skip-dependencies --reinstall -y --log-level $(LOG_LEVEL) + ncc package install --package=$(PACKAGE) --skip-dependencies --build-source --reinstall -y --log-level $(LOG_LEVEL) clean: rm -rf build