diff --git a/.github/workflows/build-osx.yml b/.github/workflows/build-osx.yml index 6a50d6b4..e2a64147 100644 --- a/.github/workflows/build-osx.yml +++ b/.github/workflows/build-osx.yml @@ -60,6 +60,14 @@ jobs: tag: ${{ github.event.inputs.release_tag }} 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 - name: Package release zip archive if: github.event.inputs.release_tag != '' @@ -75,4 +83,4 @@ jobs: file: ${{ github.workspace }}/v2rayN*.zip tag: ${{ github.event.inputs.release_tag }} file_glob: true - prerelease: true \ No newline at end of file + prerelease: true