-
Notifications
You must be signed in to change notification settings - Fork 35
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 #39 from adrenak/v4
V4
- Loading branch information
Showing
90 changed files
with
12,437 additions
and
857 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 |
---|---|---|
|
@@ -5,28 +5,34 @@ on: | |
- master | ||
jobs: | ||
release: | ||
if: "!contains(github.event.head_commit.message, 'skip ci')" | ||
name: Release | ||
runs-on: ubuntu-latest | ||
env: | ||
PKG_ROOT: "Assets/Adrenak.UniVoice" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Semantic Release | ||
id: semantic | ||
uses: cycjimmy/semantic-release-action@v3 | ||
with: | ||
extra_plugins: | | ||
@semantic-release/changelog | ||
@semantic-release/npm | ||
@semantic-release/git | ||
branch: master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- name: Check if README.md has changed | ||
id: readme_check | ||
run: | | ||
if git diff --name-only HEAD~1 HEAD | grep -q "README.md"; then | ||
echo "README_CHANGED=true" >> $GITHUB_ENV | ||
else | ||
echo "README_CHANGED=false" >> $GITHUB_ENV | ||
fi | ||
- name: Create/Update upm branch | ||
- name: Update package README | ||
if: env.README_CHANGED == 'true' | ||
run: | | ||
cp README.md "$PKG_ROOT/README.md" | ||
git config --global user.name 'github-bot' | ||
git config --global user.email '[email protected]' | ||
git commit -am "Updated package README from root README" | ||
git push -f -u origin master | ||
- name: Create UPM branch | ||
run: | | ||
git branch -d upm &> /dev/null || echo upm branch not found | ||
git subtree split -P "$PKG_ROOT" -b upm | ||
|
@@ -38,6 +44,4 @@ jobs: | |
git config --global user.email '[email protected]' | ||
git commit -am "fix: Samples => Samples~" | ||
fi | ||
git push -f -u origin upm | ||
env: | ||
PKG_ROOT: "Assets/Adrenak.UniVoice" | ||
git push -f -u origin upm |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
22 changes: 19 additions & 3 deletions
22
Assets/Adrenak.UniVoice/Runtime/Adrenak.UniVoice.Runtime.asmdef
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,3 +1,19 @@ | ||
{ | ||
"name": "Adrenak.UniVoice.Runtime" | ||
} | ||
{ | ||
"name": "Adrenak.UniVoice.Runtime", | ||
"references": [ | ||
"GUID:f87ecb857e752164ab814a3de8eb0262", | ||
"GUID:1f776cd02c03a7b4280b6b649d7758e2", | ||
"GUID:30817c1a0e6d646d99c048fc403f5979", | ||
"GUID:725ee7191c021de4dbf9269590ded755", | ||
"GUID:34d15e3fb5fa4b541b5a93a6dc182cc5" | ||
], | ||
"includePlatforms": [], | ||
"excludePlatforms": [], | ||
"allowUnsafeCode": false, | ||
"overrideReferences": false, | ||
"precompiledReferences": [], | ||
"autoReferenced": true, | ||
"defineConstraints": [], | ||
"versionDefines": [], | ||
"noEngineReferences": false | ||
} |
Oops, something went wrong.