generated from kurone-kito/vpm-project-template
-
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.
Merge pull request #5 from kurone-kito/add-some-icons
- Loading branch information
Showing
29 changed files
with
3,481 additions
and
342 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,26 +35,27 @@ jobs: | |
- name: Get the Package version based on the package.json file | ||
id: version | ||
# cspell: disable-next-line | ||
uses: zoexx/github-action[email protected] | ||
uses: sergeysova/jq-action@v2 | ||
with: | ||
file_path: "${{ env.packagePath }}/package.json" | ||
prop_path: "version" | ||
cmd: jq -r ".version" "${{ env.packagePath }}/package.json" | ||
- name: Configure the Environment Variables needed for releasing the Package | ||
run: | | ||
echo "zipFile=${{ vars.PACKAGE_NAME }}-${{ steps.version.outputs.value }}".zip >> $GITHUB_ENV | ||
echo "unityPackage=${{ vars.PACKAGE_NAME }}-${{ steps.version.outputs.value }}.unitypackage" >> $GITHUB_ENV | ||
echo "version=${{ steps.version.outputs.value }}" >> $GITHUB_ENV | ||
- name: Zip the Package for release | ||
working-directory: "${{ env.packagePath }}" | ||
run: zip -r "${{ github.workspace }}/${{ env.zipFile }}" . | ||
run: zip -r -9 "${{ github.workspace }}/${{ env.zipFile }}" . | ||
- name: Build a list of .meta files for future use | ||
run: find "${{ env.packagePath }}/" -name \*.meta >> metaList | ||
- name: Make a UnityPackage version of the Package for release | ||
uses: pCYSl5EDgo/create-unitypackage@v1 | ||
with: | ||
package-path: ${{ env.unityPackage }} | ||
include-files: metaList | ||
- name: Create a release tag of the version from the package.json file | ||
- name: Zip the UnityPackage for release | ||
run: zip -r -9 "${{ env.unityPackage }}.zip" ${{ env.unityPackage }} LICENSE README.md | ||
- name: Make a release tag of the version from the package.json file | ||
id: tag_version | ||
# cspell: disable-next-line | ||
uses: rickstaa/action-create-tag@v1 | ||
|
@@ -66,5 +67,6 @@ jobs: | |
files: | | ||
${{ env.zipFile }} | ||
${{ env.unityPackage }} | ||
${{ env.unityPackage }}.zip | ||
${{ env.packagePath }}/package.json | ||
tag_name: ${{ env.version }} |
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.