Calculate SHA256 signatures

This commit is contained in:
klzgrad 2021-05-23 19:28:10 +08:00
parent 9d9b44d04b
commit 7348efb531

View File

@ -143,6 +143,7 @@ jobs:
asset_path: src/${{ env.BUNDLE }}.tar.xz asset_path: src/${{ env.BUNDLE }}.tar.xz
asset_name: ${{ env.BUNDLE }}.tar.xz asset_name: ${{ env.BUNDLE }}.tar.xz
asset_content_type: application/octet-stream asset_content_type: application/octet-stream
- run: openssl sha256 out/Release/naive
android: android:
needs: cache-toolchains-posix needs: cache-toolchains-posix
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -207,6 +208,7 @@ jobs:
asset_path: src/${{ env.BUNDLE }}.tar.xz asset_path: src/${{ env.BUNDLE }}.tar.xz
asset_name: ${{ env.BUNDLE }}.tar.xz asset_name: ${{ env.BUNDLE }}.tar.xz
asset_content_type: application/octet-stream asset_content_type: application/octet-stream
- run: openssl sha256 out/Release/naive
win: win:
needs: cache-toolchains-win needs: cache-toolchains-win
runs-on: windows-latest runs-on: windows-latest
@ -266,6 +268,7 @@ jobs:
asset_path: src/${{ env.BUNDLE }}.zip asset_path: src/${{ env.BUNDLE }}.zip
asset_name: ${{ env.BUNDLE }}.zip asset_name: ${{ env.BUNDLE }}.zip
asset_content_type: application/octet-stream asset_content_type: application/octet-stream
- run: openssl sha256 out/Release/naive.exe
mac: mac:
needs: cache-toolchains-mac needs: cache-toolchains-mac
runs-on: macos-latest runs-on: macos-latest
@ -314,6 +317,7 @@ jobs:
asset_path: src/${{ env.BUNDLE }}.tar.xz asset_path: src/${{ env.BUNDLE }}.tar.xz
asset_name: ${{ env.BUNDLE }}.tar.xz asset_name: ${{ env.BUNDLE }}.tar.xz
asset_content_type: application/octet-stream asset_content_type: application/octet-stream
- run: openssl sha256 out/Release/naive
openwrt: openwrt:
needs: cache-toolchains-posix needs: cache-toolchains-posix
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -433,3 +437,4 @@ jobs:
asset_path: src/${{ env.BUNDLE }}.tar.xz asset_path: src/${{ env.BUNDLE }}.tar.xz
asset_name: ${{ env.BUNDLE }}.tar.xz asset_name: ${{ env.BUNDLE }}.tar.xz
asset_content_type: application/octet-stream asset_content_type: application/octet-stream
- run: openssl sha256 out/Release/naive