-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
53 lines (49 loc) · 1.39 KB
/
PR.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
# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [GitHubActions (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_PR --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------
name: PR
on: [pull_request]
concurrency:
group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
windows-latest:
name: windows-latest
runs-on: windows-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: 'Run: Clean, Test, Pack'
run: ./build.cmd Clean Test Pack
- name: 'Publish: publish'
uses: actions/upload-artifact@v4
if: runner.os == 'Windows'
with:
name: publish
path: publish
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: 'Run: Clean, Test, Pack'
run: ./build.cmd Clean Test Pack
- name: 'Publish: publish'
uses: actions/upload-artifact@v4
if: runner.os == 'Windows'
with:
name: publish
path: publish