19
19
CMAKE_BUILD_PARALLEL_LEVEL : 3 # Use up to 3 CPUs to build juceaide, etc.
20
20
STRICTNESS_LEVEL : 10 # Strictness level for pluginval validation
21
21
TIMEOUT_MS : 60000 # Set pluginval to time out after 1 minute
22
- release_created : 0
23
22
24
23
25
24
@@ -121,38 +120,42 @@ jobs:
121
120
122
121
- if : runner.os == 'Windows'
123
122
run : |
124
- Compress-Archive -Path Build\${{ runner.os }}-${{github.ref_name}} -Destination ${{ runner.os }}-${{github.ref_name}}.zip
123
+ Compress-Archive -Path Build\${{ runner.os }}-${{github.ref_name}} -Destination NDI_Audio_IO- ${{ runner.os }}-${{github.ref_name}}.zip
125
124
126
125
- if : runner.os != 'Windows'
127
126
run : |
128
- zip --junk-paths ${{ runner.os }}-${{github.ref_name}}.zip Build/${{ runner.os }}-${{github.ref_name}}/*
127
+ zip --junk-paths NDI_Audio_IO-${{ runner.os }}-${{github.ref_name}}.zip Build/${{ runner.os }}-${{github.ref_name}}/*
128
+
129
129
# - name: Archive and upload build artifacts
130
130
# uses: actions/upload-artifact@v3
131
131
# with:
132
132
# name: NDI_Audio_IO-${{ runner.os }}-${{github.ref_name}}
133
133
# path: Build/${{ runner.os }}-${{github.ref_name}}
134
134
135
- - name : Display structure of downloaded files
136
- run : ls
135
+ # - name: Display structure of downloaded files
136
+ # run: ls
137
137
138
- # - name: Create Release
139
- - if : env.release_created == 0
140
- env :
141
- release_created : 1
142
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
143
- uses : actions/create-release@v1
144
- id : create_release
145
- with :
146
- draft : true
147
- tag_name : ${{github.ref_name}}
148
- release_name : ${{github.ref_name}}
149
-
150
- - name : Upload Asset
151
- uses : actions/upload-release-asset@v1
152
- env :
153
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
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
+ - name : Release
159
+ uses : softprops/action-gh-release@v1
154
160
with :
155
- upload_url : ${{ steps.create_release.outputs.upload_url }}
156
- asset_path : ./${{ runner.os }}-${{github.ref_name}}.zip
157
- asset_name : NDI_Audio_IO-${{ runner.os }}-${{github.ref_name}}.zip
158
- asset_content_type : application/zip
161
+ files : NDI_Audio_IO-${{ runner.os }}-${{github.ref_name}}.zip
0 commit comments