mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 18:55:06 +08:00
ci: add zipSHA256 support (#909)
This commit is contained in:
parent
11ca336ece
commit
65d229d338
3
.github/workflows/build-release.yml
vendored
3
.github/workflows/build-release.yml
vendored
@ -64,12 +64,14 @@ jobs:
|
|||||||
- name: Set Environment Variables
|
- name: Set Environment Variables
|
||||||
run: |
|
run: |
|
||||||
echo "zipFile=${{ env.packageName }}-${{ steps.version.outputs.prop }}".zip >> $GITHUB_ENV
|
echo "zipFile=${{ env.packageName }}-${{ steps.version.outputs.prop }}".zip >> $GITHUB_ENV
|
||||||
|
echo "zipFileSHA256=${{ env.packageName }}-${{ steps.version.outputs.prop }}".zip.sha256 >> $GITHUB_ENV
|
||||||
echo "unityPackage=${{ env.packageName }}-${{ steps.version.outputs.prop }}.unitypackage" >> $GITHUB_ENV
|
echo "unityPackage=${{ env.packageName }}-${{ steps.version.outputs.prop }}.unitypackage" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Create Zip
|
- name: Create Zip
|
||||||
run: |
|
run: |
|
||||||
zip ".github/${{env.zipFile}}" ./* -r -x .github .git '.git/*' '*~/*' '*.ps1*'
|
zip ".github/${{env.zipFile}}" ./* -r -x .github .git '.git/*' '*~/*' '*.ps1*'
|
||||||
mv ".github/${{env.zipFile}}" "${{env.zipFile}}"
|
mv ".github/${{env.zipFile}}" "${{env.zipFile}}"
|
||||||
|
sha256sum "${{env.zipFile}}" > "${{env.zipFileSHA256}}"
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@ -85,4 +87,5 @@ jobs:
|
|||||||
tag_name: ${{ steps.version.outputs.prop }}
|
tag_name: ${{ steps.version.outputs.prop }}
|
||||||
files: |
|
files: |
|
||||||
${{ env.zipFile }}
|
${{ env.zipFile }}
|
||||||
|
${{ env.zipFileSHA256 }}
|
||||||
package.json
|
package.json
|
||||||
|
Loading…
Reference in New Issue
Block a user