Skip to content

Commit aa468dc

Browse files
committed
Only upload artifacts for certain operating systems in the matrix
1 parent 1bd9d22 commit aa468dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
- name: Release
5555
uses: softprops/action-gh-release@v1
56-
if: startsWith(github.ref, 'refs/tags/')
56+
if: ${{ startsWith(github.ref, 'refs/tags/') && (os.matrix == 'windows-2019' || os.matrix == 'macos-10.15' || os.matrix == 'ubuntu-16.04') }}
5757
with:
5858
prerelease: ${{ !startsWith(github.ref, 'refs/tags/v') || contains(github.ref, '-pre') }}
5959
files: ${{ github.event.repository.name }}-${{ steps.osname.outputs.lowercase }}.zip

0 commit comments

Comments
 (0)