Skip to content

Commit f76f01f

Browse files
committed
ci: simplify Sparkle appcast generation step in beta workflow
1 parent 3fe6eaa commit f76f01f

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.github/workflows/beta.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,10 @@ jobs:
6161
6262
- name: Generate Sparkle appcast and sign artifact
6363
run: |
64+
pwd
65+
6466
echo "${{ secrets.SPARKLE_PRIVATE_KEY }}" | base64 --decode > private_key.pem
6567
66-
git clone https://github.com/sparkle-project/Sparkle.git
67-
cd Sparkle/bin
68-
chmod +x generate_appcast
69-
7068
openssl dgst -sha256 -binary < $GITHUB_WORKSPACE/Micmute-Beta.zip | openssl dgst -sha256 -sign ./private_key.pem -out $GITHUB_WORKSPACE/Micmute-Beta.zip.sig
7169
7270
./generate_appcast --private-key ./private_key.pem --download-url-prefix "https://github.com/rokartur/Micmute/releases/latest/download/" $GITHUB_WORKSPACE

generate_appcast

2.12 MB
Binary file not shown.

0 commit comments

Comments
 (0)