This action generates a synology package according to Synology Developper Guide
The version of DSM to target. Defaults to 7.0
.
The architecture to target. Defaults to noarch
.
The source of projects. Defaults to ./src
Must be under the
alias:./path/to/package
form if several sources with the same final package folder.... projects: |- front-pack:./src/front/package back-pack:./src/back/package
Default usage with one project in src folder:
- uses: tomgrv/synology-package-builder@v1
with:
dsm: 7.0
arch: avoton
Custom usage with multiple project in arbitrary folders:
- uses: tomgrv/synology-package-builder@v1
with:
dsm: 7.0
arch: avoton
projects: |-
./src/web_package_example
./src/ExamplePackage
To retrieve packages:
- uses: actions/upload-artifact@v3
with:
name: packages
path: ./toolkit/result_spk/**/*.spk