-
Notifications
You must be signed in to change notification settings - Fork 34
36 lines (35 loc) · 1.3 KB
/
foo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
on:
pull_request:
jobs:
foo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
refs: 'master'
- name: Run git describe with branch refs
run: git describe --tags --abbrev=0 --match=@coveo/atomic@* release/v3
continue-on-error: true
- name: Run git describe with local heads
run: git describe --tags --abbrev=0 --match=@coveo/atomic@* refs/heads/release/v3
continue-on-error: true
- name: Run git describe with remote heads
run: git describe --tags --abbrev=0 --match=@coveo/atomic@* refs/remotes/origin/release/v3
continue-on-error: true
foo-v2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
refs: 'v2'
- name: Run git describe with branch refs
run: git describe --tags --abbrev=0 --match=@coveo/atomic@* release/v2
continue-on-error: true
- name: Run git describe with local heads
run: git describe --tags --abbrev=0 --match=@coveo/atomic@* refs/heads/release/v2
continue-on-error: true
- name: Run git describe with remote heads
run: git describe --tags --abbrev=0 --match=@coveo/atomic@* refs/remotes/origin/release/v2
continue-on-error: true