Skip to content

Commit c1bce2f

Browse files
committed
Migrate to Lachee/Unity-Package-Exporter for package exporting
1 parent 5759e28 commit c1bce2f

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/workflows/unitypackage.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,28 @@ on:
66
tags: [ v* ]
77

88
jobs:
9-
echo:
9+
unitypackage:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
1313

14-
- run: |
15-
echo "Assets/Plugins.meta" > Plugin.metaList
16-
find Assets/Plugins -name \*.meta >> Plugin.metaList
17-
1814
- uses: benjlevesque/[email protected]
1915
id: short-sha
2016
with:
2117
length: 6
2218

23-
- uses: pCYSl5EDgo/create-unitypackage@master
19+
- uses: actions/checkout@v2
2420
with:
25-
package-path: VolumeButtonsPlugin-${{ steps.short-sha.outputs.sha }}.unitypackage
26-
include-files: Plugin.metaList
21+
repository: Lachee/Unity-Package-Exporter
22+
path: upe
23+
24+
- uses: actions/setup-dotnet@v1
25+
26+
- run: |
27+
dotnet run -p upe/UnityPackageExporter \
28+
-project . \
29+
-dir Assets/Plugins/VolumeButtonsPlugin \
30+
-output VolumeButtonsPlugin-${{ steps.short-sha.outputs.sha }}.unitypackage
2731
2832
- uses: actions/upload-artifact@v2
2933
with:

0 commit comments

Comments
 (0)