Build dev release for win first
This commit is contained in:
parent
2335659a1e
commit
58645d4a5a
1 changed files with 21 additions and 21 deletions
42
.github/workflows/prerelease.yml
vendored
42
.github/workflows/prerelease.yml
vendored
|
@ -6,6 +6,27 @@ on:
|
|||
- "master"
|
||||
|
||||
jobs:
|
||||
build-windows-amd64:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build windows-amd64
|
||||
env:
|
||||
SSH_KEY: ${{ secrets.SSH_KEY }}
|
||||
shell: bash
|
||||
run: |
|
||||
git submodule init && git submodule update
|
||||
./waf configure -T release --prefix ./gamedata/css_enhanced/game
|
||||
./waf build install
|
||||
cd ./gamedata/css_enhanced/game
|
||||
7z a CSS_Enhanced_Windows_Development_Release.zip ./
|
||||
mkdir -p ~/.ssh
|
||||
eval $(ssh-agent)
|
||||
ssh-add - <<< "$SSH_KEY"
|
||||
ssh-keyscan cssserv.xutaxkamay.com >> ~/.ssh/known_hosts
|
||||
scp CSS_Enhanced_Windows_Development_Release.zip root@cssserv.xutaxkamay.com:/var/www/html
|
||||
|
||||
build-linux-amd64:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
@ -42,27 +63,6 @@ jobs:
|
|||
ssh-keyscan cssserv.xutaxkamay.com >> ~/.ssh/known_hosts
|
||||
scp CSS_Enhanced_Android_Development_Release.zip root@cssserv.xutaxkamay.com:/var/www/html
|
||||
|
||||
build-windows-amd64:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build windows-amd64
|
||||
env:
|
||||
SSH_KEY: ${{ secrets.SSH_KEY }}
|
||||
shell: bash
|
||||
run: |
|
||||
git submodule init && git submodule update
|
||||
./waf configure -T release --prefix ./gamedata/css_enhanced/game
|
||||
./waf build install
|
||||
cd ./gamedata/css_enhanced/game
|
||||
7z a CSS_Enhanced_Windows_Development_Release.zip ./
|
||||
mkdir -p ~/.ssh
|
||||
eval $(ssh-agent)
|
||||
ssh-add - <<< "$SSH_KEY"
|
||||
ssh-keyscan cssserv.xutaxkamay.com >> ~/.ssh/known_hosts
|
||||
scp CSS_Enhanced_Windows_Development_Release.zip root@cssserv.xutaxkamay.com:/var/www/html
|
||||
|
||||
build-macos-amd64:
|
||||
runs-on: macos-latest
|
||||
|
||||
|
|
Loading…
Reference in a new issue