Skip to content

Commit

Permalink
Configure signing and notarization
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-Fabi committed Nov 29, 2023
1 parent 95d4677 commit 7cd4fb7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 24 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/conveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ jobs:
echo "${{ secrets.KEYS_TAR_ASC }}" > .keys.tar.gz.asc
gpg -d --passphrase "${{ secrets.KEYS_PASSPHRASE }}" --batch .keys.tar.gz.asc > .keys.tar.gz
tar xzf .keys.tar.gz
cd ..
- name: Run Conveyor
uses: hydraulic-software/conveyor/actions/[email protected]
Expand All @@ -55,18 +54,3 @@ jobs:
extra_flags: -f ci.conveyor.conf
signing_key: ${{ secrets.SIGNING_KEY }}
agree_to_license: 1

- name: Create latest
run: |
cd build/compose/binaries/main/${{ matrix.pkg }}/
cp ./* ./WaiterRobot-Desktop-latest.${{ matrix.pkg}}
- name: Move to release server
uses: garygrossgarten/github-action-scp@release
with:
local: build/compose/binaries/main/${{ matrix.pkg }}
remote: /var/www/datepoll-share/WaiterRobot/Desktop-Releases/${{ matrix.pkg}}
host: ${{ secrets.RELEASES_SSH_HOST }}
port: ${{ secrets.RELEASES_SSH_PORT }}
username: ${{ secrets.RELEASES_SSH_USER }}
privateKey: ${{ secrets.RELEASES_SSH_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -234,4 +234,4 @@ gradle-app.setting

#Conveyor
output
.keys
.keys*
14 changes: 7 additions & 7 deletions ci.conveyor.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ app {
}
}

#signing-key = ${env.SIGNING_KEY}
signing-key = ${env.SIGNING_KEY}

#mac.certificate = .keys/apple.cer
mac.certificate = .keys/apple.cer

# We probably need to use a self-signed one here (certificates for windows cost around 400 - 500€ per year)
# Another option would be to distribute through the Microsoft-AppStore (~20€ a year)
#windows.certificate = .keys/windows.cer

#mac.notarization {
# issuer-id = ${env.APPLE_ISSUER_ID}
# key-id = ${env.APPLE_KEY_ID}
# private-key = .keys/api_key.p8
#}
mac.notarization {
issuer-id = ${env.APPLE_ISSUER_ID}
key-id = ${env.APPLE_KEY_ID}
private-key = .keys/api_key.p8
}
}

0 comments on commit 7cd4fb7

Please sign in to comment.