Skip to content
name: Export to unitypackage
# JOELwindows7: have write permission pls
permissions:
contents: write
# use https://github.com/FrostBanditTeam/extract-unity-package-action no it's broken. use Pcy instead!
on: [push, pull_request]
# https://github.com/marketplace/actions/create-unitypackage
jobs:
bungkus:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Include which files you wanted to the list file
run: |
cd DiceGlow
pwd
ls
echo "Assets/JOELwindows7.meta" > ../metaList
find Assets/JOELwindows7/ -name \*.meta >> ../metaList
echo "Now, let's see what do we have here."
cat ../metaList
- name: create output directory here
run: mkdir a
- name: Wait, check everything first.
run: |
pwd
ls
echo 'Okay good right?'
- name: Again, inside DiceGlow.
run: |
cd DiceGlow
pwd
ls
echo 'I said in the Asset!'
cd Assets
pwd
ls
- name: It's morbin time!
uses: pCYSl5EDgo/create-unitypackage@master
with:
package-path: 'a/WholeJOELwindows7CVRSets.unitypackage'
include-files: metaList
project-folder: 'DiceGlow'
- name: Here's your morbin sir! Will there be anything else?
uses: actions/upload-artifact@master
with:
path: a
name: Whole_JOELwindows7_CVR-Sets
- name: HEEEH?!?!?
run: |
echo 'hehe 😏';
echo 'SNAP BACK TO REALITY';