From 2181be1a42852d46ef0dc9f5b5400e06077a43ba Mon Sep 17 00:00:00 2001 From: artaasadi Date: Fri, 26 Apr 2024 11:44:06 +0200 Subject: [PATCH] fix: remove windows binary signing --- .github/workflows/main.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index f0f87f7..39ef22e 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -101,14 +101,14 @@ jobs: CODESIGN_KEY: ${{ secrets.SELFSIGNED_KEY}} CODESIGN_CRT: ${{ secrets.SELFSIGNED_CRT}} run: | - sudo apt update -y && sudo apt -y install cmake libssl-dev libcurl4-openssl-dev zlib1g-dev python3 - sudo apt-get update -y - sudo apt-get -y install osslsigncode - echo "${{ secrets.SELFSIGNED_KEY }}" | base64 --decode > cert.key - echo "${{ secrets.SELFSIGNED_CRT }}" | base64 --decode > cert.crt - osslsigncode sign -certs cert.crt -key cert.key -n "Kaytu" -i https://kaytu.io/ -in kaytu_${{ steps.set_new_tag.outputs.new_tag }}_windows_amd64.exe -out kaytu.exe +# sudo apt update -y && sudo apt -y install cmake libssl-dev libcurl4-openssl-dev zlib1g-dev python3 +# sudo apt-get update -y +# sudo apt-get -y install osslsigncode +# echo "${{ secrets.SELFSIGNED_KEY }}" | base64 --decode > cert.key +# echo "${{ secrets.SELFSIGNED_CRT }}" | base64 --decode > cert.crt +# osslsigncode sign -certs cert.crt -key cert.key -n "Kaytu" -i https://kaytu.io/ -in kaytu_${{ steps.set_new_tag.outputs.new_tag }}_windows_amd64.exe -out kaytu.exe mkdir kaytu_${{ steps.set_new_tag.outputs.new_tag }}_windows_amd64 - mv kaytu.exe kaytu_${{ steps.set_new_tag.outputs.new_tag }}_windows_amd64/kaytu.exe + mv kaytu_${{ steps.set_new_tag.outputs.new_tag }}_windows_amd64.exe kaytu_${{ steps.set_new_tag.outputs.new_tag }}_windows_amd64/kaytu.exe zip kaytu_${{ steps.set_new_tag.outputs.new_tag }}_windows_amd64.zip kaytu_${{ steps.set_new_tag.outputs.new_tag }}_windows_amd64 export UPLOAD_URL=$(curl --silent "https://api.github.com/repos/kaytu-io/kaytu/releases/latest" | jq -r .upload_url) echo "upload_url=$UPLOAD_URL" >> $GITHUB_OUTPUT