From 5be83e81fac353ab8db7d6061edb61a376c39a2e Mon Sep 17 00:00:00 2001 From: Ruud Senden <8635138+rsenden@users.noreply.github.com> Date: Mon, 25 Mar 2024 15:40:25 +0100 Subject: [PATCH] chore: Add sha256 and rsa_sha256 release assets --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01e971638b..f609c7fa49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -236,6 +236,17 @@ jobs: with: path: ./artifacts merge-multiple: true + - run: | + cd ./artifacts/release-assets + for f in *; do + sha256sum ${f} > ${f}.sha256 + done + for f in *; do + openssl dgst -sha256 -passin env:SIGN_PASSPHRASE -sign <(echo "${SIGN_KEY}") -out ${f}.rsa_sha256 ${f} + done + env: + SIGN_PASSPHRASE: ${{ secrets.SIGN_PASSPHRASE }} + SIGN_KEY: ${{ secrets.SIGN_KEY }} - uses: actions/upload-artifact@v4 with: path: ./artifacts