fixed CI pipeline
All checks were successful
Build Tauri App (Linux + Windows exe) / build (push) Successful in 11m13s
All checks were successful
Build Tauri App (Linux + Windows exe) / build (push) Successful in 11m13s
This commit is contained in:
@@ -34,8 +34,6 @@ jobs:
|
|||||||
curl \
|
curl \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
xdg-utils \
|
xdg-utils \
|
||||||
rpm \
|
|
||||||
dpkg-sig \
|
|
||||||
gnupg2
|
gnupg2
|
||||||
|
|
||||||
- name: Add Windows Rust target
|
- name: Add Windows Rust target
|
||||||
@@ -57,7 +55,7 @@ jobs:
|
|||||||
- name: Make Linux ELF executable
|
- name: Make Linux ELF executable
|
||||||
run: chmod +x src-tauri/target/release/bytechat-desktop
|
run: chmod +x src-tauri/target/release/bytechat-desktop
|
||||||
|
|
||||||
# 🔑 Import GPG private key (with passphrase)
|
# 🔑 Import your private GPG key
|
||||||
- name: Import GPG key
|
- name: Import GPG key
|
||||||
run: |
|
run: |
|
||||||
echo "$GPG_PRIVATE_KEY" | gpg --batch --import
|
echo "$GPG_PRIVATE_KEY" | gpg --batch --import
|
||||||
@@ -66,19 +64,12 @@ jobs:
|
|||||||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||||
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
|
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
|
||||||
|
|
||||||
# 🐧 Sign Linux packages
|
# 🐧 Sign Linux binaries (.deb, .rpm, ELF)
|
||||||
- name: Sign Linux .deb
|
- name: Sign Linux artifacts
|
||||||
run: |
|
run: |
|
||||||
for f in src-tauri/target/release/bundle/deb/*.deb; do
|
for f in src-tauri/target/release/bytechat-desktop \
|
||||||
echo "$GPG_PASSPHRASE" | gpg --batch --yes --passphrase-fd 0 \
|
src-tauri/target/release/bundle/deb/*.deb \
|
||||||
--pinentry-mode loopback --detach-sign -a "$f"
|
src-tauri/target/release/bundle/rpm/*.rpm; do
|
||||||
done
|
|
||||||
env:
|
|
||||||
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
|
||||||
|
|
||||||
- name: Sign Linux .rpm
|
|
||||||
run: |
|
|
||||||
for f in src-tauri/target/release/bundle/rpm/*.rpm; do
|
|
||||||
echo "$GPG_PASSPHRASE" | gpg --batch --yes --passphrase-fd 0 \
|
echo "$GPG_PASSPHRASE" | gpg --batch --yes --passphrase-fd 0 \
|
||||||
--pinentry-mode loopback --detach-sign -a "$f"
|
--pinentry-mode loopback --detach-sign -a "$f"
|
||||||
done
|
done
|
||||||
@@ -101,6 +92,7 @@ jobs:
|
|||||||
name: tauri-linux
|
name: tauri-linux
|
||||||
path: |
|
path: |
|
||||||
src-tauri/target/release/bytechat-desktop
|
src-tauri/target/release/bytechat-desktop
|
||||||
|
src-tauri/target/release/bytechat-desktop.asc
|
||||||
src-tauri/target/release/bundle/deb/*.deb
|
src-tauri/target/release/bundle/deb/*.deb
|
||||||
src-tauri/target/release/bundle/deb/*.asc
|
src-tauri/target/release/bundle/deb/*.asc
|
||||||
src-tauri/target/release/bundle/rpm/*.rpm
|
src-tauri/target/release/bundle/rpm/*.rpm
|
||||||
@@ -115,4 +107,3 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
src-tauri/target/x86_64-pc-windows-gnu/release/bytechat-desktop.exe
|
src-tauri/target/x86_64-pc-windows-gnu/release/bytechat-desktop.exe
|
||||||
src-tauri/target/x86_64-pc-windows-gnu/release/bytechat-desktop.exe.asc
|
src-tauri/target/x86_64-pc-windows-gnu/release/bytechat-desktop.exe.asc
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user