-
Notifications
You must be signed in to change notification settings - Fork 11
56 lines (52 loc) · 1.81 KB
/
actions.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
name: Build Ofront+ for Win64
on: push
jobs:
job1:
runs-on: windows-2019
steps:
- uses: actions/checkout@v1
- name: Build Ofront+
run: |
CD Target\Win64\Bin
CALL build.bat
CD ..\..\..
MKDIR unix-88
CD unix-88
COPY ..\Mod\Lib\SYSTEM.* . >NUL
COPY ..\Mod\Lib\*.h0 . >NUL
CALL ..\Target\Win64\Bin\o2c-bootstrap.bat -88 Unix
CD ..
MKDIR unix-48
CD unix-48
COPY ..\Mod\Lib\SYSTEM.* . >NUL
COPY ..\Mod\Lib\*.h0 . >NUL
CALL ..\Target\Win64\Bin\o2c-bootstrap.bat -48 Unix
CD ..
MKDIR unix-44
CD unix-44
COPY ..\Mod\Lib\SYSTEM.* . >NUL
COPY ..\Mod\Lib\*.h0 . >NUL
CALL ..\Target\Win64\Bin\o2c-bootstrap.bat -44 Unix
shell: cmd
- name: Publish target files
run: |
rm -rf .git
git init
git add -f Target/Win64/*.exe
git add unix-88
git add unix-48
git add unix-44
mv -f Target/Linux_amd64/Bin/.cirrus.yml .
git add .cirrus.yml
git add Target/macOS/Bin/.cirrus.yml
git add Target/Linux_aarch64/Bin/.cirrus.yml
git add Target/FreeBSD_amd64/Bin/.cirrus.yml
mv Target/Linux_amd64/Bin/cc-bootstrap .
git add cc-bootstrap
git -c user.name='zorko' -c user.email='zorko@vedasoft' commit -m "o2c #$GITHUB_RUN_NUMBER"
# Make sure to make the output quiet, or else the API token will leak!
git push -f -q https://Oleg-N-Cher:[email protected]/Oleg-N-Cher/OfrontPlus-bootstrap.git HEAD:master &>/dev/null
shell: bash
env:
BOOTSTRAP_TOKEN: ${{secrets.BOOTSTRAP_TOKEN}}
#