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 #7 from kurone-kito/added-the-super-sampled-ui-mat…
…erial v0.4.1: Added the super sampled UI material
- Loading branch information
Showing
59 changed files
with
531 additions
and
319 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 |
---|---|---|
|
@@ -24,8 +24,20 @@ jobs: | |
contents: write | ||
env: | ||
packagePath: Packages/${{ vars.PACKAGE_NAME }} | ||
stableVersion: | ||
unityPackage: | ||
version: | ||
zipFile: | ||
if: needs.config.outputs.config_package == 'true' | ||
steps: | ||
- id: gpg | ||
name: Import the GPG key | ||
# cspell: disable-next-line | ||
uses: crazy-max/ghaction-import-gpg@v6 | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
passphrase: ${{ secrets.GPG_PASSPHRASE }} | ||
trust_level: 5 | ||
- name: Checkout Local Repository | ||
uses: actions/checkout@v4 | ||
- name: copy the README and LICENSE files to the Package folder | ||
|
@@ -36,11 +48,19 @@ jobs: | |
uses: sergeysova/jq-action@v2 | ||
with: | ||
cmd: jq -r ".version" "${{ env.packagePath }}/package.json" | ||
- name: Detect whether the version is a stable release | ||
id: stable-match | ||
# cspell: disable-next-line | ||
uses: kaisugi/[email protected] | ||
with: | ||
flags: gm | ||
regex: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ | ||
text: ${{ steps.version.outputs.value }} | ||
- 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 | ||
echo "zipFile=${{ vars.PACKAGE_NAME }}-${{ steps.version.outputs.value }}".zip >> $GITHUB_ENV | ||
- name: Zip the Package for release | ||
working-directory: "${{ env.packagePath }}" | ||
run: zip -r -9 "${{ github.workspace }}/${{ env.zipFile }}" . | ||
|
@@ -53,17 +73,31 @@ jobs: | |
include-files: metaList | ||
- name: Zip the UnityPackage for release | ||
run: zip -r -9 "${{ env.unityPackage }}.zip" ${{ env.unityPackage }} LICENSE README.md | ||
- name: Sign the artifacts | ||
run: | | ||
echo "${GPG_PASSPHRASE}" | gpg --batch -ab "${{ env.zipFile }}" | ||
echo "${GPG_PASSPHRASE}" | gpg --batch -ab "${{ env.unityPackage }}" | ||
echo "${GPG_PASSPHRASE}" | gpg --batch -ab "${{ env.unityPackage }}.zip" | ||
env: | ||
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | ||
- 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 | ||
with: | ||
tag: "${{ env.version }}" | ||
gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
- name: Publish the Release to GitHub | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: | | ||
${{ env.zipFile }} | ||
${{ env.zipFile }}.asc | ||
${{ env.unityPackage }} | ||
${{ env.unityPackage }}.asc | ||
${{ env.unityPackage }}.zip | ||
${{ env.unityPackage }}.zip.asc | ||
${{ env.packagePath }}/package.json | ||
prerelease: ${{ env.stableVersion == '' }} | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
dotnet 6.0.422 | ||
dotnet 6.0.423 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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.