Skip to content

Commit 19ec2f3

Browse files
committed
correctly gate on master branch
1 parent 7815434 commit 19ec2f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-windows-installer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ on:
77
jobs:
88
Build-Windows-Installer:
99
runs-on: windows-latest
10-
if: ${{ startsWith(github.ref, 'refs/tags/') && github.ref_name == 'master' }}
10+
if: ${{ startsWith(github.ref, 'refs/tags/') && github.event.base_ref == 'refs/heads/master' }}
1111
steps:
1212
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
1313
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
14-
- run: echo "🔎 The name of your branch is ${{ github.ref }} + ${{ github.ref_name }} and your repository is ${{ github.repository }}."
14+
- run: echo "🔎 The name of your branch is ${{ github.ref }} + ${{ github.event.base_ref }} and your repository is ${{ github.repository }}."
1515
- name: Check out repository code
1616
uses: actions/checkout@v4
1717
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."

0 commit comments

Comments
 (0)