Skip to content

Commit f47af7a

Browse files
committed
Release Testing
1 parent 50064d8 commit f47af7a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ env:
1313

1414
#
1515
# Establish when the workflow is run
16-
# What we want is that a release is made whenever we merge into master. Here is an example:
17-
# if: ${{ github.event_name == 'pull_request' && github.event.pull_request.merged == true && github.base_ref == 'refs/heads/main' }}
18-
# But really, we can also just say that a push into master causes a release. Whether that must come from a PR
19-
# can be controlled via branch protection
2016

2117
on:
2218
push:
@@ -34,7 +30,7 @@ jobs:
3430
steps:
3531

3632
- name: Determine whether this is a release build
37-
if: ${{ github.event_name == 'pull_request' && github.base_ref == 'main' }}
33+
if: ${{ github.event_name == 'pull_request' && github.base_ref == 'refs/heads/main' }}
3834
env:
3935
IS_RELEASE: "true"
4036
run: echo "We will be performing a release upon success"

0 commit comments

Comments
 (0)