-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 912 Bytes
/
package.yml
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
name: Package
on:
push:
tags:
- v*
jobs:
generate-pacakge:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
path: Library
key: Library
- name: Generate package
uses: game-ci/unity-builder@v2
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
buildsPath: build
targetPlatform: StandaloneLinux64
buildMethod: PackageGenerationTools.GeneratePackage
- name: Upload Unity package
uses: actions/upload-artifact@v2
with:
name: Unity Package
path: build/*.unitypackage
- name: Create release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: build/*.unitypackage