-
-
Notifications
You must be signed in to change notification settings - Fork 123
50 lines (48 loc) · 1.44 KB
/
package-release.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
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Package for Release
on:
release:
types: [created]
workflow_dispatch:
jobs:
package-unity-2019-4:
runs-on: ubuntu-latest
container:
image: unityci/editor:ubuntu-2019.4.40f1-base-1.0.1
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Package
run: |
chmod a+x scripts/ci/activate-license.sh
./scripts/ci/activate-license.sh
echo "Activation done. Packaging..."
python scripts/ExportUnityPackage.py /opt/unity/Editor/Unity -nodisplay
shell: bash
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE_BASE64 }}
- uses: actions/upload-artifact@v3
with:
name: UnityVolumeRendering-2019.unitypackage
path: UnityVolumeRendering.unitypackage
package-unity-2021-3:
runs-on: ubuntu-latest
container:
image: unityci/editor:ubuntu-2021.3.9f1-base-1.0.1
steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Package
run: |
chmod a+x scripts/ci/activate-license.sh
./scripts/ci/activate-license.sh
echo "Activation done. Packaging..."
python scripts/ExportUnityPackage.py /opt/unity/Editor/Unity -nodisplay
shell: bash
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE_BASE64 }}
- uses: actions/upload-artifact@v3
with:
name: UnityVolumeRendering-2020.3+.unitypackage
path: UnityVolumeRendering.unitypackage