@@ -65,32 +65,36 @@ jobs:
6565 - uses : actions/checkout@v4
6666 - uses : ./.github/actions/setup-build-environment
6767 - run : yarn run build
68+ - name : Sign plugin
69+ run : npx -y @clockworkdog/cogs-plugin-verification@3.2 sign apps/hue_control/dog.clockwork.hue.cogsplugin
70+ env :
71+ COGS_PRIVATE_KEY : ${{ secrets.COGS_ACCOUNTS_PRODUCTION_PRIVATE_KEY }}
6872 # Copy the test-project-pack with symlinks followed and copied
6973 - run : cp -rL test-project-pack test-project-pack-no-symlinks
7074 # Upload a zip artifact for this run
7175 - uses : actions/upload-artifact@v4
7276 with :
73- name : ${{ github.event.repository.name }}-${{ github.sha }}-test-project-pack
74- path : test-project-pack-no-symlinks
77+ name : dog.clockwork.hue.cogsplugin
78+ path : apps/hue_control/dog.clockwork.hue.cogsplugin
7579 - uses : actions/upload-artifact@v4
7680 with :
77- name : ${{ github.event.repository.name }}-${{ github.sha }}
78- path : apps/hue_control/dog.clockwork.hue.cogsplugin
81+ name : ${{ github.event.repository.name }}-${{ github.sha }}-test-project-pack
82+ path : test-project-pack-no-symlinks
7983 # Upload to Github Releases if this is a tagged build
80- - name : Zip test project for Github release
81- if : github.ref_type == 'tag'
82- run : |
83- mv test-project-pack-no-symlinks "${{ github.event.repository.name }}-${{ github.ref_name }}"
84- zip -r "${{ github.event.repository.name }}-${{ github.ref_name }}.zip" "${{ github.event.repository.name }}-${{ github.ref_name }}"
8584 - name : Zip plugin for Github release
8685 if : github.ref_type == 'tag'
8786 run : |
8887 mv apps/hue_control/dog.clockwork.hue.cogsplugin dog.clockwork.hue.cogsplugin
8988 zip -r "dog.clockwork.hue.cogsplugin-${{ github.ref_name }}.zip" dog.clockwork.hue.cogsplugin
89+ - name : Zip test project for Github release
90+ if : github.ref_type == 'tag'
91+ run : |
92+ mv test-project-pack-no-symlinks "${{ github.event.repository.name }}-${{ github.ref_name }}"
93+ zip -r "${{ github.event.repository.name }}-${{ github.ref_name }}.zip" "${{ github.event.repository.name }}-${{ github.ref_name }}"
9094 - name : Release
9195 uses : softprops/action-gh-release@v3
9296 if : github.ref_type == 'tag'
9397 with :
9498 files : |
95- ${{ github.event.repository.name }}-${{ github.ref_name }}.zip
9699 dog.clockwork.hue.cogsplugin-${{ github.ref_name }}.zip
100+ ${{ github.event.repository.name }}-${{ github.ref_name }}.zip
0 commit comments