mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
fix(release): recover desktop release builds
This commit is contained in:
35
.github/workflows/desktop-release.yml
vendored
35
.github/workflows/desktop-release.yml
vendored
@@ -369,23 +369,36 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
echo "RELEASE_DRAFT=$release_draft" >> "$GITHUB_ENV"
|
echo "RELEASE_DRAFT=$release_draft" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Build and publish Linux Tauri release
|
- name: Build Linux Tauri release
|
||||||
if: env.IS_SMOKE_TAG != 'true'
|
if: env.IS_SMOKE_TAG != 'true'
|
||||||
uses: tauri-apps/tauri-action@v0
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
||||||
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
||||||
NO_STRIP: "true"
|
NO_STRIP: "true"
|
||||||
APPIMAGE_EXTRACT_AND_RUN: "1"
|
APPIMAGE_EXTRACT_AND_RUN: "1"
|
||||||
with:
|
shell: bash
|
||||||
projectPath: packages/desktop
|
run: |
|
||||||
tagName: ${{ env.RELEASE_TAG }}
|
set -euo pipefail
|
||||||
releaseName: Paseo ${{ env.RELEASE_TAG }}
|
npm run tauri --workspace=@getpaseo/desktop build -- --bundles appimage
|
||||||
releaseBody: See the assets to download and install this version.
|
|
||||||
releaseDraft: ${{ env.RELEASE_DRAFT }}
|
- name: Upload Linux release assets
|
||||||
prerelease: false
|
if: env.IS_SMOKE_TAG != 'true'
|
||||||
args: --bundles appimage
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
shopt -s nullglob
|
||||||
|
assets=(
|
||||||
|
packages/desktop/src-tauri/target/release/bundle/appimage/*.AppImage
|
||||||
|
packages/desktop/src-tauri/target/release/bundle/appimage/*.AppImage.sig
|
||||||
|
)
|
||||||
|
if [ "${#assets[@]}" -eq 0 ]; then
|
||||||
|
echo "::error::No Linux AppImage assets were produced."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
printf 'Uploading Linux assets:\n%s\n' "${assets[@]}"
|
||||||
|
gh release upload "$RELEASE_TAG" "${assets[@]}" --repo "${{ github.repository }}" --clobber
|
||||||
|
|
||||||
- name: Build Linux app (smoke only)
|
- name: Build Linux app (smoke only)
|
||||||
if: env.IS_SMOKE_TAG == 'true'
|
if: env.IS_SMOKE_TAG == 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user