forked from crazy-max/ghaction-dump-context
-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (35 loc) · 765 Bytes
/
ci.yml
File metadata and controls
38 lines (35 loc) · 765 Bytes
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
name: ci
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
branches:
- master
- releases/v*
pull_request:
jobs:
dump:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- ubuntu-20.04
- macos-latest
- windows-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Dump context
uses: ./
-
if: ${{ runner.os == 'Linux' }}
# run a 2nd time on Linux to see how the action behaves
# after the 1st run already installed missing dependencies
name: 2nd Dump context
uses: ./