-
-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (55 loc) · 1.31 KB
/
release-that.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Release that
on: [push, pull_request]
jobs:
os-testing:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
concurrency:
group: os-testing-${{ github.ref }}-${{ github.event_name }}-${{ matrix.os }}
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v4
# test 1
- name: Test 'dry-run' input
uses: ./
with:
dry-run: true
# test 2
- name: Test 'without-prefix' input
uses: ./
with:
dry-run: true
without-prefix: true
# test 3
- name: Test 'major-tag=true' input
uses: ./
with:
dry-run: true
major-tag: true
# test 4
- name: Test 'major-tag=false' input
uses: ./
with:
dry-run: true
major-tag: false
# test 5
- name: Test 'major-tag=auto' input
uses: ./
with:
dry-run: true
major-tag: auto
release:
runs-on: ubuntu-latest
needs: os-testing
concurrency:
group: release-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Release That
uses: ./
with:
github-token: ${{ secrets.GH_TOKEN }}