wellals #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Export to unitypackage | |
# JOELwindows7: have write permission pls | |
permissions: | |
contents: write | |
# use https://github.com/FrostBanditTeam/extract-unity-package-action | |
on: [push, pull_request] | |
# https://github.com/marketplace/actions/create-unitypackage | |
jobs: | |
echo: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- 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 | |
- 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! | |
uses: actions/upload-artifact@master | |
with: | |
path: a | |
name: package |