Skip to content

Commit

Permalink
fix: remove windows binary signing
Browse files Browse the repository at this point in the history
  • Loading branch information
artaasadi committed Apr 26, 2024
1 parent 5af7ac2 commit 2181be1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2181be1

Please sign in to comment.