Remove redundant --build-source flag from build steps

This commit is contained in:
netkas 2024-09-23 13:53:02 -04:00
parent cfbbed5c4a
commit 26d2b0acd8
2 changed files with 6 additions and 6 deletions

View file

@ -46,12 +46,12 @@ jobs:
echo "NCC build directory not found" echo "NCC build directory not found"
exit 1 exit 1
fi fi
php "$NCC_DIR/INSTALL" --auto --install-composer php "$NCC_DIR/INSTALL" --auto
cd .. && rm -rf ncc cd .. && rm -rf ncc
- name: Build project - name: Build project
run: | run: |
ncc build --config release --build-source --log-level debug ncc build --config release --log-level debug
- name: Upload build artifacts - name: Upload build artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
@ -106,12 +106,12 @@ jobs:
echo "NCC build directory not found" echo "NCC build directory not found"
exit 1 exit 1
fi fi
php "$NCC_DIR/INSTALL" --auto --install-composer php "$NCC_DIR/INSTALL" --auto
cd .. && rm -rf ncc cd .. && rm -rf ncc
- name: Install NCC packages - name: Install NCC packages
run: | 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 - name: Run PHPUnit tests
run: | run: |

View file

@ -9,10 +9,10 @@ all: build
# Build Steps # Build Steps
build: build:
ncc build --config=$(CONFIG) --build-source --log-level $(LOG_LEVEL) ncc build --config=$(CONFIG) --log-level $(LOG_LEVEL)
install: 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: clean:
rm -rf build rm -rf build