32 lines
758 B
YAML
32 lines
758 B
YAML
name: snapshot
|
|
on: [push]
|
|
jobs:
|
|
snapshot:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository and submodules
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
- name: Install deps
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y build-essential cmake lua5.3 xorg-dev libgl-dev mingw-w64 curl zip
|
|
- name: Build linux snapshot
|
|
run: |
|
|
./snapshot.sh
|
|
- name: Build win32 snapshot
|
|
run: |
|
|
./snapshot.sh win32
|
|
- name: Build win64 snapshot
|
|
run: |
|
|
./snapshot.sh win64
|
|
- name: Upload snapshots
|
|
env:
|
|
SECRET: ${{ secrets.ELIDRAGON_UPLOAD_TOKEN }}
|
|
run: |
|
|
./upload.sh
|
|
|
|
|
|
|