-
Notifications
You must be signed in to change notification settings - Fork 437
Expand file tree
/
Copy pathhosting-unity-webgl-example.yaml
More file actions
48 lines (48 loc) · 1.49 KB
/
hosting-unity-webgl-example.yaml
File metadata and controls
48 lines (48 loc) · 1.49 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
43
44
45
46
47
48
name: hosting-unity-webgl
on:
push:
branches:
- master
pull_request:
paths:
- hosting/unity-webgl-template/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/hosting-unity-webgl-example.yaml
- .ic-commit
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
hosting-unity-webgl-darwin:
runs-on: macos-15
steps:
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1.2.0
- name: Provision Darwin
run: bash .github/workflows/provision-darwin.sh
- name: Pre-download network launcher
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bash .github/workflows/pre-download-launcher.sh
- name: Hosting Unity Webgl Darwin
run: |
pushd hosting/unity-webgl-template
icp network start -d
icp deploy
popd
hosting-unity-webgl-linux:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1.2.0
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Pre-download network launcher
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bash .github/workflows/pre-download-launcher.sh
- name: Hosting Unity Webgl Linux
run: |
pushd hosting/unity-webgl-template
icp network start -d
icp deploy
popd