-
Notifications
You must be signed in to change notification settings - Fork 20
79 lines (68 loc) · 2.02 KB
/
pack_hb32_mingw_0703.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
#
# pack_hb32_mingw_0703.yml
#
# input: hb32_mingw_0703.zip
# input: mingw_0703.zip
# input: addons_hb32_mingw_0703.zip
# output: pack_hb32_mingw_0703.zip
#
name: pack_hb32_mingw_0703
on:
#push:
schedule:
- cron: "30 2 1 * *"
workflow_dispatch:
inputs:
name:
description: 'pack_hb32_mingw_0703'
default: 'pack_hb32_mingw_0703'
required: true
jobs:
Build:
runs-on: windows-latest
steps:
- name: load mingw_0703.zip from workflow
uses: dawidd6/action-download-artifact@v6
with:
workflow: mingw_0703.yml
workflow_conclusion: success
name: mingw_0703
path: c:\temp
repo: JoseQuintas/sefazclass
- name: load hb32_mingw_0703.zip from workflow
uses: dawidd6/action-download-artifact@v6
with:
workflow: hb32_mingw_0703.yml
workflow_conclusion: success
name: hb32_mingw_0703
path: c:\temp
repo: JoseQuintas/sefazclass
- name: load addons_hb32_mingw_0703.zip from workflow
uses: dawidd6/action-download-artifact@v6
with:
workflow: addons_hb32_mingw_0703.yml
workflow_conclusion: success
name: addons_hb32_mingw_0703
path: c:\temp
repo: JoseQuintas/sefazclass
- name: Unzip All
env:
PATH: c:\program files\7-zip
run: |
c:
7z x -y c:\temp\hb32_mingw_0703.7z -oc:\temp\harbour
md c:\harbour\comp
7z x -y c:\temp\mingw_0703.7z -oc:\temp\harbour\comp
md c:\harbour\addons
7z x -y c:\temp\addons_hb32_mingw_0703.7z -oc:\temp\harbour\addons
- name: Create pack_hb32_mingw_0703.zip
env:
PATH: c:\program files\7-zip
run: |
c:
7z a -r c:\temp\pack_hb32_mingw_0703.7z c:\temp\harbour\*.* -xr'!.git' -xr'!.github' -xr'!.hbmk'
- name: Save pack_hb32_mingw_0703.zip to workflow
uses: actions/upload-artifact@v4
with:
name: pack_hb32_mingw_0703
path: c:\temp\pack_hb32_mingw_0703.7z