Skip to content

tomgrv/synology-package-builder

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Synology package builder github action

This action generates a synology package according to Synology Developper Guide

Inputs

dsm

The version of DSM to target. Defaults to 7.0.

arch

The architecture to target. Defaults to noarch.

projects

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

Example usage

Step

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

Artifacts

To retrieve packages:

- uses: actions/upload-artifact@v3
  with:
    name: packages
    path: ./toolkit/result_spk/**/*.spk

About

Github action to build a Synology package

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages