-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 1.03 KB
/
main.yml
File metadata and controls
42 lines (36 loc) · 1.03 KB
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
name: Build
on: [push, pull_request]
jobs:
build:
name: Build my project
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout repository
uses: actions/checkout@v2
with:
lfs: true
# Cache
- uses: actions/cache@v2
with:
path: Library
key: Library
# Build
- name: Build project
uses: game-ci/unity-builder@v2
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
targetPlatform: WebGL
unityVersion: 2020.2.6f1
# Output
- uses: actions/upload-artifact@v2
with:
name: Build
path: build
# Deploy
# - name: Ping hook
# uses: fjogeleit/http-request-action@master
# with:
# url: 'https://app.buddy.works/firstbossspike/spel-ignite-web/pipelines/pipeline/318411/trigger-webhook?token=53cc0b9d465595a03cfb145718c7133f0f06743c39f859ca374deb6974d1b94609269d2116fb40072ee9c0e7f3ff77db'
# method: 'GET'