Skip to content

Commit 36975c6

Browse files
committed
Keep cache hot on main branch
1 parent 08a8f97 commit 36975c6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Release
22

33
on:
44
push:
5+
# Also run on pushes to the main branch so that we can keep the llvm and sccache
6+
# caches filled in a scope available to everyone
7+
branches:
8+
- master
59
tags:
610
- 'v*'
711

@@ -178,6 +182,7 @@ jobs:
178182
179183
- name: UploadBinary
180184
uses: softprops/action-gh-release@v1
185+
if: startsWith(github.ref, 'refs/tags/v')
181186
with:
182187
files: |
183188
${{ steps.package.outputs.SLANG_BINARY_ARCHIVE_ZIP }}

0 commit comments

Comments
 (0)