Updated build system
This commit is contained in:
parent
4b05581bb6
commit
b9679d168f
1 changed files with 25 additions and 0 deletions
25
.github/workflows/ncc_workflow.yml
vendored
25
.github/workflows/ncc_workflow.yml
vendored
|
@ -526,6 +526,31 @@ jobs:
|
|||
wget https://phar.phpunit.de/phpunit-11.3.phar
|
||||
php phpunit-11.3.phar --configuration phpunit.xml
|
||||
|
||||
upload-documentation:
|
||||
needs: generate-phpdoc
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: php:8.3
|
||||
if: github.event_name == 'release'
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Download documentation artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: documentation
|
||||
|
||||
- name: Upload documentation artifact to release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: |
|
||||
docs/*
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
upload-artifacts:
|
||||
needs: [release, debug, release-compressed, debug-compressed, release-executable, debug-executable, release-compressed-executable, debug-compressed-executable, test]
|
||||
permissions: write-all
|
||||
|
|
Loading…
Add table
Reference in a new issue