Skip to content

Commit

Permalink
Create create-unitypackage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kochounoyume authored May 29, 2024
1 parent 73b7ce0 commit ac9c350
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/create-unitypackage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Create Unity Package

on:
workflow_dispatch:

jobs:
echo:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
# create meta file
- run: |
echo -e "fileFormatVersion: 2\nguid: 4374ac3819d9c494aaf255a82e464727\nfolderAsset: yes\nDefaultImporter:\n externalObjects: {}\n userData: \n assetBundleName: \n assetBundleVariant: " > Packages/PlayerControl.meta
- run: |
echo "Packages/PlayerControl.meta" > metaList
find Packages/PlayerControl/ -name \*.meta >> metaList
- run: mkdir a

- uses: pCYSl5EDgo/create-unitypackage@master
with:
package-path: "a/output.unitypackage"
include-files: metaList
- uses: actions/upload-artifact@master
with:
path: a
name: package

0 comments on commit ac9c350

Please sign in to comment.