ci: upload artifact only on push to default branch
This commit is contained in:
parent
26b34b83dd
commit
65abbc82cf
1 changed files with 1 additions and 0 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
|
@ -25,6 +25,7 @@ jobs:
|
|||
run: make build
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||
with:
|
||||
name: discordo_${{ runner.os }}_${{ runner.arch }}
|
||||
path: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue