mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
39 lines
1,013 B
YAML
39 lines
1,013 B
YAML
name: "Build"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
env:
|
|
PROJECT_NAME: ${{ github.event.repository.name }}
|
|
GODOT_VERSION: 3.2.3
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-20.04
|
|
container:
|
|
image: barichello/godot-ci:3.2.3
|
|
steps:
|
|
- name: Install dependencies
|
|
run: apt-get update && apt-get install -y rsync p7zip make
|
|
- uses: actions/checkout@v2
|
|
- name: Setup
|
|
run: |
|
|
mkdir -p ~/.local/share/godot/templates
|
|
mv /root/.local/share/godot/templates/$GODOT_VERSION.stable ~/.local/share/godot/templates/$GODOT_VERSION.stable
|
|
- name: Linux Build
|
|
run: make linux
|
|
- name: MacOS Build
|
|
run: make macos
|
|
- name: Windows Build
|
|
run: make windows
|
|
- name: Clean up
|
|
run: make clean-unzipped
|
|
- name: Deploy
|
|
uses: JamesIves/github-pages-deploy-action@3.6.2
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
BRANCH: gh-pages
|
|
FOLDER: build
|
|
CLEAN: true
|