@@ -70,16 +70,27 @@ jobs:
7070 # Upload a zip artifact for this run
7171 - uses : actions/upload-artifact@v4
7272 with :
73- name : ${{ github.event.repository.name }}-${{ github.sha }}
73+ name : ${{ github.event.repository.name }}-${{ github.sha }}-test-project-pack
7474 path : test-project-pack-no-symlinks
75+ - uses : actions/upload-artifact@v4
76+ with :
77+ name : ${{ github.event.repository.name }}-${{ github.sha }}
78+ path : apps/hue_control/dog.clockwork.hue.cogsplugin
7579 # Upload to Github Releases if this is a tagged build
76- - name : Zip for Github release
80+ - name : Zip test project for Github release
7781 if : github.ref_type == 'tag'
7882 run : |
7983 mv test-project-pack-no-symlinks "${{ github.event.repository.name }}-${{ github.ref_name }}"
8084 zip -r "${{ github.event.repository.name }}-${{ github.ref_name }}.zip" "${{ github.event.repository.name }}-${{ github.ref_name }}"
85+ - name : Zip plugin for Github release
86+ if : github.ref_type == 'tag'
87+ run : |
88+ mv apps/hue_control/dog.clockwork.hue.cogsplugin dog.clockwork.hue.cogsplugin
89+ zip -r "dog.clockwork.hue.cogsplugin-${{ github.ref_name }}.zip" dog.clockwork.hue.cogsplugin
8190 - name : Release
82- uses : softprops/action-gh-release@v2
91+ uses : softprops/action-gh-release@v3
8392 if : github.ref_type == 'tag'
8493 with :
85- files : " ${{ github.event.repository.name }}-${{ github.ref_name }}.zip"
94+ files : |
95+ ${{ github.event.repository.name }}-${{ github.ref_name }}.zip
96+ dog.clockwork.hue.cogsplugin-${{ github.ref_name }}.zip
0 commit comments