Skip to content

Commit 8fb1c92

Browse files
committed
Don't test Changes in master branch when running GitHub Actions
1 parent b52f2ae commit 8fb1c92

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
run: dzil stale | xargs cpm install -g --show-build-log-on-failure
2828
- name: Build
2929
run: dzil build --no-tgz --in dzil_build_dir
30+
- name: Maybe skip Changes test
31+
if: github.ref == 'refs/heads/master'
32+
run: rm dzil_build_dir/xt/release/changes_has_content.t
3033
- uses: actions/upload-artifact@master
3134
with:
3235
name: build_dir

0 commit comments

Comments
 (0)