Updated Build System
This commit is contained in:
parent
cd4ea10fd6
commit
65125c496a
1 changed files with 6 additions and 8 deletions
14
.github/workflows/ncc_workflow.yml
vendored
14
.github/workflows/ncc_workflow.yml
vendored
|
@ -460,11 +460,15 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
php phpDocumentor.phar -d src -t docs
|
php phpDocumentor.phar -d src -t docs
|
||||||
|
|
||||||
|
- name: Archive PHPDoc
|
||||||
|
run: |
|
||||||
|
zip -r docs.zip docs
|
||||||
|
|
||||||
- name: Upload PHPDoc
|
- name: Upload PHPDoc
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: documentation
|
name: documentation
|
||||||
path: docs
|
path: docs.zip
|
||||||
|
|
||||||
test:
|
test:
|
||||||
needs: [release, debug, release-compressed, debug-compressed, release-executable, debug-executable, release-compressed-executable, debug-compressed-executable, check-phpunit]
|
needs: [release, debug, release-compressed, debug-compressed, release-executable, debug-executable, release-compressed-executable, debug-compressed-executable, check-phpunit]
|
||||||
|
@ -551,17 +555,11 @@ jobs:
|
||||||
name: documentation
|
name: documentation
|
||||||
path: documentation
|
path: documentation
|
||||||
|
|
||||||
- name: zip documentation
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install zip
|
|
||||||
zip -r documentation.zip documentation
|
|
||||||
|
|
||||||
- name: Upload documentation artifact
|
- name: Upload documentation artifact
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
documentation.zip
|
documentation/*
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue