aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/compile.yml15
1 files changed, 11 insertions, 4 deletions
diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml
index 893eb41..2ba771f 100644
--- a/.github/workflows/compile.yml
+++ b/.github/workflows/compile.yml
@@ -1,10 +1,13 @@
name: build all
on:
- push:
- branches: [ "trunk" ]
- pull_request:
- branches: [ "trunk" ]
+ # all branches:
+ [ push, pull_request ]
+ # trunk only:
+ #push:
+ # branches: [ "trunk" ]
+ #pull_request:
+ # branches: [ "trunk" ]
jobs:
compile:
@@ -14,6 +17,10 @@ jobs:
- name: Checkout
uses: actions/checkout@master
+ # allow 'git describe' to work, by fetching tags and history
+ with:
+ fetch-depth: 0
+ fetch-tags: true
- name: Stop committing version.h
# reject commit if version.h was changed