-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from esnya/alpha
MultiImageManager
- Loading branch information
Showing
166 changed files
with
3,598 additions
and
1,827 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
*.prefab filter=usharp-prefab diff=usharp-prefab merge=unityyamlmerge eol=lf text | ||
*.asset filter=usharp-prefab diff=usharp-prefab merge=unityyamlmerge eol=lf text |
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 |
---|---|---|
@@ -1,14 +1,73 @@ | ||
name: Release | ||
on: push | ||
|
||
env: | ||
packageName: "com.nekometer.esnya.inari-udon" | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
release: | ||
semantic-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: lts/* | ||
- run: npm ci | ||
- run: npm i -g semantic-release semantic-release-gitmoji @semantic-release/github @semantic-release/git @semantic-release/npm foreach-cli | ||
|
||
- id: prev_version | ||
uses: notiz-dev/github-action-json-property@7c8cf5cc36eb85d8d287a8086a39dac59628eb31 | ||
with: | ||
path: "Packages/${{env.packageName}}/package.json" | ||
prop_path: "version" | ||
|
||
- run: npx semantic-release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- id: version | ||
uses: notiz-dev/github-action-json-property@7c8cf5cc36eb85d8d287a8086a39dac59628eb31 | ||
with: | ||
path: "Packages/${{env.packageName}}/package.json" | ||
prop_path: "version" | ||
outputs: | ||
prev_version: ${{ steps.prev_version.outputs.prop }} | ||
next_version: ${{ steps.version.outputs.prop }} | ||
|
||
vcc-release: | ||
runs-on: ubuntu-latest | ||
needs: semantic-release | ||
if: needs.semantic-release.outputs.prev_version != needs.semantic-release.outputs.next_version | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: echo "version=${{ needs.semantic-release.outputs.next_version }}" >> $GITHUB_ENV | ||
|
||
- run: | | ||
echo "zipFile=${{ env.packageName }}-${{ env.version }}".zip >> $GITHUB_ENV | ||
echo "unityPackage=${{ env.packageName }}-${{ env.version }}.unitypackage" >> $GITHUB_ENV | ||
- uses: thedoctor0/zip-release@09336613be18a8208dfa66bd57efafd9e2685657 | ||
with: | ||
type: "zip" | ||
directory: "Packages/${{env.packageName}}/" | ||
filename: "../../${{env.zipFile}}" # make the zip file two directories up, since we start two directories in above | ||
|
||
- run: find "Packages/${{env.packageName}}/" -name \*.meta >> metaList | ||
- uses: pCYSl5EDgo/create-unitypackage@cfcd3cf0391a5ef1306342794866a9897c32af0b | ||
with: | ||
package-path: ${{ env.unityPackage }} | ||
include-files: metaList | ||
|
||
- uses: svenstaro/upload-release-action@v2 | ||
with: | ||
tag: v${{ env.version }} | ||
file: ${{ env.zipFile }} | ||
- uses: svenstaro/upload-release-action@v2 | ||
with: | ||
tag: v${{ env.version }} | ||
file: ${{ env.unityPackage }} | ||
- uses: svenstaro/upload-release-action@v2 | ||
with: | ||
tag: v${{ env.version }} | ||
file: Packages/${{ env.packageName }}/package.json |
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
plugins: | ||
- semantic-release-gitmoji | ||
- "@semantic-release/npm" | ||
- "@semantic-release/github" | ||
- "@semantic-release/git" | ||
- "@semantic-release/npm" |
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
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
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
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
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
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
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
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
Oops, something went wrong.