Skip to content
This repository was archived by the owner on Nov 10, 2024. It is now read-only.

Commit 090cabb

Browse files
committed
dev
1 parent f5401b8 commit 090cabb

File tree

1 file changed

+28
-25
lines changed

1 file changed

+28
-25
lines changed

.github/workflows/Validation.yml

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ env:
1919
CMAKE_BUILD_PARALLEL_LEVEL: 3 # Use up to 3 CPUs to build juceaide, etc.
2020
STRICTNESS_LEVEL: 10 # Strictness level for pluginval validation
2121
TIMEOUT_MS: 60000 # Set pluginval to time out after 1 minute
22-
release_created: 0
2322

2423

2524

@@ -121,38 +120,42 @@ jobs:
121120
122121
- if: runner.os == 'Windows'
123122
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
125124
126125
- if: runner.os != 'Windows'
127126
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+
129129
# - name: Archive and upload build artifacts
130130
# uses: actions/upload-artifact@v3
131131
# with:
132132
# name: NDI_Audio_IO-${{ runner.os }}-${{github.ref_name}}
133133
# path: Build/${{ runner.os }}-${{github.ref_name}}
134134

135-
- name: Display structure of downloaded files
136-
run: ls
135+
# - name: Display structure of downloaded files
136+
# run: ls
137137

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
154160
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

Comments
 (0)