mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-01 20:25:07 +08:00
build: add upload-artifact to test created package
This commit is contained in:
parent
e6e808b2e8
commit
1850945d34
10
.github/workflows/build-release.yml
vendored
10
.github/workflows/build-release.yml
vendored
@ -72,12 +72,22 @@ jobs:
|
||||
directory: "Packages/${{env.packageName}}/"
|
||||
filename: "../../${{env.zipFile}}" # make the zip file two directories up, since we start two directories in above
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: package-zip
|
||||
path: ${{ env.zipFile }}
|
||||
|
||||
- name: Create unitypackage
|
||||
uses: anatawa12/sh-actions/create-unitypackage@master
|
||||
with:
|
||||
output-path: ${{ env.unityPackage }}
|
||||
package-path: Packages/${{ env.packageName }}
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: unitypackage
|
||||
path: ${{ env.unityPackage }}
|
||||
|
||||
- name: Make Release
|
||||
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
|
Loading…
Reference in New Issue
Block a user