generated from actions/container-action
-
Notifications
You must be signed in to change notification settings - Fork 26
87 lines (79 loc) · 1.95 KB
/
test.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: Test Action
on:
push:
branches:
- master
paths-ignore:
- README.md
workflow_dispatch:
concurrency:
group: test
cancel-in-progress: false
jobs:
test:
strategy:
matrix:
include:
- formula: test-formula-url
tag: v0.1.12
- formula: test-formula-git-revision
tag: v0.3.3
revision: c43abd765cf51c06bbcaa5479dc49aab1396989f
- formula: test-formula-pypi-url
tag: v2.42.0
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test
uses: ./
with:
token: ${{secrets.TOKEN}}
tap: ${{github.repository}}
tap_url: ${{github.server_url}}/${{github.repository}}
formula: ${{matrix.formula}}
tag: ${{matrix.tag}}
revision: ${{matrix.revision}}
force: true
test-livecheck-formula:
runs-on: macos-latest
needs:
- test
steps:
- name: Wait
run: sleep 30
- name: Checkout
uses: actions/checkout@v4
- name: Test
uses: ./
with:
token: ${{secrets.TOKEN}}
message: test
formula: |
test-formula-url
test-formula-git-revision
test-formula-pypi-url
tap: ${{github.repository}}
tap_url: ${{github.server_url}}/${{github.repository}}
livecheck: true
force: true
test-livecheck-tap:
runs-on: ubuntu-latest
needs:
- test-livecheck-formula
steps:
- name: Wait
run: sleep 30
- name: Checkout
uses: actions/checkout@v4
- name: Test
uses: ./
with:
token: ${{secrets.TOKEN}}
message: |
First line
SECOND LINE
tap: ${{github.repository}}
tap_url: ${{github.server_url}}/${{github.repository}}
livecheck: true
force: true