Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Trim Ensu Tauri workflow config

Manav Rathie10bd65c8c94
diff --git a/.github/workflows/ensu-build.yml b/.github/workflows/ensu-build.yml
index e0d74e3a6f..3ccaeb5183 100644
--- a/.github/workflows/ensu-build.yml
+++ b/.github/workflows/ensu-build.yml
@@ -159,14 +159,11 @@ jobs:
working-directory: rust/apps/ensu
run: yarn install --frozen-lockfile
- - name: Write Tauri config override
- shell: bash
+ - name: Write Tauri config override (updater)
+ if: matrix.platform.os != 'windows-latest'
env:
ENSU_TAURI_UPDATER_PUBKEY: ${{ vars.ENSU_TAURI_UPDATER_PUBKEY }}
run: |
- set -euo pipefail
- : "${ENSU_TAURI_UPDATER_PUBKEY:?}"
-
cat > rust/apps/ensu/tauri.ci.conf.json <<EOF
{
"tauri": {
@@ -178,7 +175,7 @@ jobs:
}
EOF
- - name: Prepare Windows signing
+ - name: Write Tauri config override (updater + Windows signing)
if: matrix.platform.os == 'windows-latest'
shell: bash
env:
@@ -190,14 +187,8 @@ jobs:
cargo install --locked artifact-signing-cli --version 0.11.0
echo "$(cygpath -w "$HOME/.cargo/bin")" >> $GITHUB_PATH
SIGNTOOL_PATH=$(powershell -NoProfile -Command "Get-ChildItem 'C:\\Program Files (x86)\\Windows Kits\\10\\bin\\*\\x64\\signtool.exe' -ErrorAction Stop | Sort-Object FullName -Descending | Select-Object -First 1 -ExpandProperty FullName" | tr -d '\r')
- test -n "$SIGNTOOL_PATH"
echo "SIGNTOOL_PATH=$SIGNTOOL_PATH" >> $GITHUB_ENV
- : "${ENSU_TAURI_UPDATER_PUBKEY:?}"
- : "${AZURE_ENDPOINT:?}"
- : "${AZURE_CODE_SIGNING_NAME:?}"
- : "${AZURE_CERT_PROFILE_NAME:?}"
-
cat > rust/apps/ensu/tauri.ci.conf.json <<EOF
{
"tauri": {