-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (37 loc) · 984 Bytes
/
action.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
name: Actions
on:
push:
branches:
- master
pull_request:
jobs:
Test:
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- uses: ./.github/actions/test
Build:
if: github.ref == 'refs/heads/master'
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
- uses: ./.github/actions/build
- uses: ./.github/actions/archive
Release:
if: github.ref == 'refs/heads/master'
needs: [Test, Build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: ./.github/actions/latest
with:
github-token: ${{ secrets.GITHUB_TOKEN }}