96
96
- name : Build
97
97
run : cmake --build Build --config ${{ env.BUILD_TYPE }} ${{ matrix.config.cmake_build_flags }}
98
98
99
- # - name: Validate
100
- # shell: bash
101
- # working-directory: Build
102
- # env:
103
- # VALIDATE_IN_PROCESS: true
104
- # if: runner.os == 'macOS'
105
- # run: |
106
- # cmake --install .
107
- # curl -LsS ${{ matrix.config.pluginval_link }} -o pluginval.zip
108
- # unzip -q pluginval
109
- # ${{ matrix.config.pluginval_path }} --validate *_artefacts/${{ env.BUILD_TYPE }}/VST3/*.vst3
110
-
111
-
112
99
- name : Prepare build artifacts
113
100
shell : bash
114
101
working-directory : Build
@@ -120,41 +107,12 @@ jobs:
120
107
121
108
- if : runner.os == 'Windows'
122
109
run : |
123
- Compress-Archive -Path Build\${{ runner.os }}-${{github.ref_name}} -Destination NDI_Audio_IO-${{ runner.os }}-${{github.ref_name}}.zip
110
+ Compress-Archive -Path Build\${{ runner.os }}-${{github.ref_name}}\* -Destination NDI_Audio_IO-${{ runner.os }}-${{github.ref_name}}.zip
124
111
125
112
- if : runner.os != 'Windows'
126
113
run : |
127
114
zip --junk-paths NDI_Audio_IO-${{ runner.os }}-${{github.ref_name}}.zip Build/${{ runner.os }}-${{github.ref_name}}/*
128
115
129
- # - name: Archive and upload build artifacts
130
- # uses: actions/upload-artifact@v3
131
- # with:
132
- # name: NDI_Audio_IO-${{ runner.os }}-${{github.ref_name}}
133
- # path: Build/${{ runner.os }}-${{github.ref_name}}
134
-
135
- # - name: Display structure of downloaded files
136
- # run: ls
137
-
138
- # - name: Create Release
139
- # env:
140
- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
141
- # uses: actions/create-release@v1
142
- # id: create_release
143
- # with:
144
- # draft: true
145
- # tag_name: ${{github.ref_name}}
146
- # release_name: ${{github.ref_name}}
147
-
148
- # - name: Upload Asset
149
- # uses: actions/upload-release-asset@v1
150
- # env:
151
- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
152
- # with:
153
- # upload_url: ${{ steps.create_release.outputs.upload_url }}
154
- # asset_path: ./${{ runner.os }}-${{github.ref_name}}.zip
155
- # asset_name: NDI_Audio_IO-${{ runner.os }}-${{github.ref_name}}.zip
156
- # asset_content_type: application/zip
157
-
158
116
- name : Release
159
117
uses : softprops/action-gh-release@v1
160
118
with :
0 commit comments