Skip to content

Commit 8c704ad

Browse files
committed
Update packaging
1 parent 6f0c13e commit 8c704ad

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/create-release.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,28 @@ jobs:
2020
run: |
2121
mkdir -p "Assets/VRLabs/ModularShaderSystem"
2222
ls | grep -v "Assets" | xargs mv -t "Assets/VRLabs/ModularShaderSystem"
23-
echo "Assets/VRLabs.meta" > mssFullPackage
24-
echo "Assets/VRLabs/ModularShaderSystem.meta" >> mssFullPackage
2523
echo -e "fileFormatVersion: 2\nguid: 652a1ba5b00554143bc9a76307dbc4e8\nfolderAsset: yes\nDefaultImporter:\n externalObjects: {}\n userData: \n assetBundleName: \n assetBundleVariant: " > "Assets/VRLabs.meta"
2624
echo -e "fileFormatVersion: 2\nguid: 433bedcd0ded4bcf993b0088e99f493c\nfolderAsset: yes\nDefaultImporter:\n externalObjects: {}\n userData: \n assetBundleName: \n assetBundleVariant: " > "Assets/VRLabs/ModularShaderSystem.meta"
2725
mkdir -p "Main"
26+
mkdir -p "Examples"
2827
cp -r "Assets" "Main"
29-
cp -r "Assets" "Examples"
30-
rm -r "Examples/Assets/VRLabs/ModularShaderSystem/Examples"
31-
find "Examples/Assets/VRLabs/ModularShaderSystem" -mindepth 1 ! -regex '^Examples/Assets/VRLabs/ModularShaderSystem\(/.*\)?' -delete
28+
mkdir -p "Examples/Assets/VRLabs/ModularShaderSystem"
29+
echo -e "fileFormatVersion: 2\nguid: 652a1ba5b00554143bc9a76307dbc4e8\nfolderAsset: yes\nDefaultImporter:\n externalObjects: {}\n userData: \n assetBundleName: \n assetBundleVariant: " > "Examples/Assets/VRLabs.meta"
30+
echo -e "fileFormatVersion: 2\nguid: 433bedcd0ded4bcf993b0088e99f493c\nfolderAsset: yes\nDefaultImporter:\n externalObjects: {}\n userData: \n assetBundleName: \n assetBundleVariant: " > "Examples/Assets/VRLabs/ModularShaderSystem.meta"
31+
mv "Main/Assets/VRLabs/ModularShaderSystem/Examples" "Examples/Assets/VRLabs/ModularShaderSystem"
32+
mv "Main/Assets/VRLabs/ModularShaderSystem/Examples.meta" "Examples/Assets/VRLabs/ModularShaderSystem"
3233
- name: Create UnityPackage
3334
env:
3435
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
35-
uses: FrostBanditTeam/extract-unity-package-action@1
36+
uses: VRLabs/extract-unity-package-action@v1.2.1
3637
with:
3738
outputPackagePath: 'Modular.Shader.System.${{ env.SOURCE_TAG }}.unitypackage'
3839
unityProjectPath: 'Main'
3940

4041
- name: Create Examples UnityPackage
4142
env:
4243
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
43-
uses: FrostBanditTeam/extract-unity-package-action@1
44+
uses: VRLabs/extract-unity-package-action@v1.2.1
4445
with:
4546
outputPackagePath: 'Modular.Shader.System.Examples.${{ env.SOURCE_TAG }}.unitypackage'
4647
unityProjectPath: 'Examples'

0 commit comments

Comments
 (0)