Workflow test 2 #3
Workflow file for this run
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: Create Unity Package | |
on: push | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Select files | |
run: | | |
find Assets/ -name \*.meta >> metaList | |
- name: Make output folder | |
run: mkdir out | |
- name: Create unitypackage | |
uses: pCYSl5EDgo/create-unitypackage@master | |
with: | |
package-path: 'out/output.unitypackage' | |
include-files: metaList | |
- name: Upload unitypackage artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
path: out | |
name: package | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: | | |
out/output.unitypackage |