-
Notifications
You must be signed in to change notification settings - Fork 17
44 lines (40 loc) · 949 Bytes
/
example-runs.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
37
38
39
40
41
42
43
44
name: Example Runs
on: push
jobs:
example:
runs-on: ubuntu-latest
strategy:
matrix:
last:
- null
- v1000
- v1000.0.4
- v1000-pre.2
- v1000.0.3-beta.5
scheme:
- continuous
- semantic
type:
- null
- major
- minor
- patch
- prerelease
branch:
- null
- sample-branch
steps:
- uses: actions/checkout@v4
- id: compute_tag
uses: ./
with:
github_token: ${{ github.token }}
tag: ${{ matrix.last }}
branch: ${{ matrix.branch }}
tag_fetch_depth: 20
version_scheme: ${{ matrix.scheme }}
version_type: ${{ matrix.type }}
- name: print out computed tag
run: echo "The next computed tag is $TAG"
env:
TAG: ${{ steps.compute_tag.outputs.next_tag }}