mirror of
https://github.com/2dust/v2rayN.git
synced 2025-04-19 21:52:25 +00:00
parent
26abe7e7d7
commit
a0d4a3f2e8
2 changed files with 14 additions and 2 deletions
8
.github/workflows/build-osx.yml
vendored
8
.github/workflows/build-osx.yml
vendored
|
@ -60,6 +60,14 @@ jobs:
|
||||||
tag: ${{ github.event.inputs.release_tag }}
|
tag: ${{ github.event.inputs.release_tag }}
|
||||||
file_glob: true
|
file_glob: true
|
||||||
|
|
||||||
|
- name: Upload sha256 checksum to release
|
||||||
|
uses: svenstaro/upload-release-action@v2
|
||||||
|
if: github.event.inputs.release_tag != ''
|
||||||
|
with:
|
||||||
|
file: ${{ github.workspace }}/v2rayN*.sha256
|
||||||
|
tag: ${{ github.event.inputs.release_tag }}
|
||||||
|
file_glob: true
|
||||||
|
|
||||||
# release zip archive
|
# release zip archive
|
||||||
- name: Package release zip archive
|
- name: Package release zip archive
|
||||||
if: github.event.inputs.release_tag != ''
|
if: github.event.inputs.release_tag != ''
|
||||||
|
|
|
@ -56,3 +56,7 @@ create-dmg \
|
||||||
--app-drop-link 500 185 \
|
--app-drop-link 500 185 \
|
||||||
"v2rayN-${Arch}.dmg" \
|
"v2rayN-${Arch}.dmg" \
|
||||||
"$PackagePath/v2rayN.app"
|
"$PackagePath/v2rayN.app"
|
||||||
|
|
||||||
|
# 为生成的 DMG 文件创建 SHA256 校验值文件
|
||||||
|
SHA256File="v2rayN-${Arch}.dmg.sha256"
|
||||||
|
shasum -a 256 "v2rayN-${Arch}.dmg" > "$SHA256File"
|
||||||
|
|
Loading…
Reference in a new issue