Skip to content

Commit afaf834

Browse files
committed
Only upload artifacts from master branch
1 parent a792f2c commit afaf834

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454

5555
- name: 'Upload Artifact'
5656
uses: actions/upload-artifact@v2
57+
if: github.ref == 'refs/heads/master'
5758
with:
5859
name: cppsharp-${{ matrix.config.os }}-${{ matrix.config.platform }}-${{ matrix.config.cc }}
5960
path: |

0 commit comments

Comments
 (0)