Skip to content

Commit 51dc49e

Browse files
committed
Improve CI performance for non-tagged builds
1 parent ae6bea3 commit 51dc49e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,13 @@ jobs:
4646
- name: Get lowercase OS name
4747
id: osname
4848
uses: ASzc/change-string-case-action@07c1e24a97f0951e13f88870b99c058fcf0b14cf # v5
49+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
4950
with:
5051
string: ${{ runner.os }}
5152

5253
- name: Compress artifacts
5354
uses: vimtor/action-zip@26a249fb00d43ca98dad77a4b3838025fc226aa1 # v1.1
55+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
5456
with:
5557
files: install/bin/
5658
dest: ${{ github.event.repository.name }}-${{ steps.osname.outputs.lowercase }}.zip

0 commit comments

Comments
 (0)