Skip to content
This repository was archived by the owner on Feb 11, 2022. It is now read-only.

Commit 1f43fbf

Browse files
committed
Make release job conditional so it doesn't clutter up logs
1 parent abfb78c commit 1f43fbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
uses: actions/upload-artifact@v2
2323
with:
2424
name: linux
25-
path: |
26-
build/*.so
25+
path: build/*.so
2726
release:
27+
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
2828
needs: [build_ubuntu]
2929
runs-on: ubuntu-latest
3030
steps:

0 commit comments

Comments
 (0)