forked from AlexKontorovich/RealAnalysisGame
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (31 loc) · 967 Bytes
/
build.yml
File metadata and controls
34 lines (31 loc) · 967 Bytes
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
name: Build
run-name: Build the game and upload artifact
on:
workflow_dispatch:
push:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: leanprover/lean-action@v1
with:
use-github-cache: false
build: true
test: false
lint: false
mk_all-check: false
use-mathlib-cache: true
- name: compress built game
#run: tar -czvf ../game.tar.gz .
run: zip game.zip * .lake/ .i18n/ -r
- name: upload compressed game folder
uses: actions/upload-artifact@v4
with:
name: build-for-server-import
path: |
game.zip
- name: What next?
run: echo "To export the game to the Game Server, open https://adam.math.hhu.de/import/trigger/${GITHUB_REPOSITORY,,} \n Afterwards, you can play the game at https://adam.math.hhu.de/#/g/${GITHUB_REPOSITORY,,}"