-
Notifications
You must be signed in to change notification settings - Fork 1
82 lines (70 loc) · 2.16 KB
/
deploy-client-windows.yml
File metadata and controls
82 lines (70 loc) · 2.16 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: deploy-client-windows
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
test:
name: Testing
runs-on: ubuntu-latest
steps:
- name: Checking out
uses: actions/checkout@v2
with:
lfs: true
fetch-depth: 0
- name: Caching Library
uses: actions/cache@v2.1.4
with:
path: Library
key: Library-blobby-volley-world-StandaloneWindows64
- name: Running unit tests
uses: game-ci/unity-test-runner@v2
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
with:
artifactsPath: ./deploy-client-test-results/
- name: Uploading results
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: test-results
path: ./deploy-client-test-results/
build:
name: Building
needs: test
runs-on: ubuntu-latest
steps:
- name: Checking out
uses: actions/checkout@v2
with:
lfs: true
- name: Caching Library
uses: actions/cache@v2.1.4
with:
path: Library
key: Library-blobby-volley-world-StandaloneWindows64
- name: Building Client
uses: game-ci/unity-builder@v2
id: build
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
with:
targetPlatform: StandaloneWindows64
buildsPath: ./deploy-client-builds/
buildMethod: "Editor.Builder.BuildClient"
buildName: "blobby-volley-world"
versioning: Semantic
- name: Uploading to itch.io
uses: josephbmanley/butler-publish-itchio-action@master
env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
CHANNEL: windows
ITCH_GAME: blobby-volley-world
ITCH_USER: EuleMitKeule
PACKAGE: ./deploy-client-builds/StandaloneWindows64/
VERSION: ${{ steps.build.outputs.buildVersion }}