-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9015b4f
commit 1f4e6cf
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
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] | ||
|
||
jobs: | ||
extract_unity_package: | ||
runs-on: ubuntu-latest | ||
name: extract_unity_package | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Extract unity package | ||
id: extract_unity_package | ||
uses: FrostBanditTeam/extract-unity-package-action@1 | ||
with: | ||
#Specify the unity project path, relative to the repo root. | ||
unityProjectPath: './DiceGlow' | ||
#Optional: Set the directory to package, relative to the project. | ||
packagePath: 'Assets/JOELwindows7' | ||
#Optional: Set the output path for the package. | ||
outputPackagePath: './artifacts/WholeJOELwindows7CVRSets.unitypackage' | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Output package | ||
path: ${{ steps.extract_unity_package.outputs.artifactsPath }} |
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