-
-
Notifications
You must be signed in to change notification settings - Fork 123
58 lines (56 loc) · 1.79 KB
/
package-assetstore.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
51
52
53
54
55
56
57
58
name: Package for Unity Asset Store
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: Get dependencies
run: |
apt update
apt install -y pandoc texlive-latex-base texlive-fonts-recommended texlive-extra-utils texlive-latex-extra
- name: Package
run: |
chmod a+x scripts/ci/activate-license.sh
./scripts/ci/activate-license.sh
echo "Packaging..."
python scripts/ExportUnityPackage.py /opt/unity/Editor/Unity -assetstore -nodisplay
shell: bash
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE_BASE64 }}
- uses: actions/upload-artifact@v3
with:
name: EasyVolumeRenderer-Unity-2019.unitypackage
path: EasyVolumeRenderer.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: Get dependencies
run: |
apt update
apt install -y pandoc texlive-latex-base texlive-fonts-recommended texlive-extra-utils texlive-latex-extra
- name: Package
run: |
chmod a+x scripts/ci/activate-license.sh
./scripts/ci/activate-license.sh
echo "Packaging..."
python scripts/ExportUnityPackage.py /opt/unity/Editor/Unity -assetstore -nodisplay
shell: bash
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE_BASE64 }}
- uses: actions/upload-artifact@v3
with:
name: EasyVolumeRenderer-Unity-2021.unitypackage
path: EasyVolumeRenderer.unitypackage