forked from pascalabcnet/pascalabcnet
-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (58 loc) · 1.69 KB
/
build-and-publish.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
name: Build & Publish (release)
on:
workflow_dispatch:
push:
branches:
- test
release:
types:
- created
defaults:
run:
shell: cmd
jobs:
build:
name: Prepare and build on Windows Server VM (2019)
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- name: Install dependencies into Virtual Environment...
run: _RegisterHelixNUnit.bat
- name: Build project in Release-mode, compile Pas-units, create install packages...
run: _GenerateAllSetups.bat
timeout-minutes: 45
env:
PABCNET_BUILD_MODE: Release
PABCNET_RUN_TESTS: false
PABCNET_INC_BUILD: false
PABCNET_VERBOSE: false
- name: Publish artifacts (1/4)...
uses: actions/upload-artifact@v3
with:
name: PascalABCNET_Win7_IDE_Full
path: Release/PascalABCNETSetup.exe
if-no-files-found: error
- name: Publish artifacts (2/4)...
uses: actions/upload-artifact@v3
with:
name: PascalABCNET_Win7_IDE_Mini
path: Release/PascalABCNETMiniSetup.exe
if-no-files-found: error
- name: Publish artifacts (3/4)...
uses: actions/upload-artifact@v3
with:
name: PascalABCNET_WinXP_IDE_Full
path: Release/PascalABCNETWithDotNet40Setup.exe
if-no-files-found: error
- name: Publish artifacts (4/4)...
uses: actions/upload-artifact@v3
with:
name: PascalABCNET_Win_Mac_Linux_console
path: Release/PABCNETC.zip
if-no-files-found: error
#- name: Publish artifacts (5/5)...
# uses: actions/upload-artifact@v3
# with:
# name: All_distros
# path: Release
# if-no-files-found: error