mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
ci: ship mac arm desktop release and add website mac download
This commit is contained in:
27
.github/workflows/desktop-release.yml
vendored
27
.github/workflows/desktop-release.yml
vendored
@@ -20,20 +20,7 @@ jobs:
|
|||||||
publish-tauri:
|
publish-tauri:
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
strategy:
|
runs-on: macos-latest
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- platform: macos-latest # for Arm based macs (M1 and above).
|
|
||||||
args: '--target aarch64-apple-darwin'
|
|
||||||
- platform: macos-latest # for Intel based macs.
|
|
||||||
args: '--target x86_64-apple-darwin'
|
|
||||||
- platform: ubuntu-22.04
|
|
||||||
args: ''
|
|
||||||
- platform: windows-latest
|
|
||||||
args: ''
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
|
||||||
env:
|
env:
|
||||||
RELEASE_TAG: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag || github.ref_name }}
|
RELEASE_TAG: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag || github.ref_name }}
|
||||||
|
|
||||||
@@ -54,13 +41,7 @@ jobs:
|
|||||||
- name: Install Rust stable
|
- name: Install Rust stable
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
|
targets: aarch64-apple-darwin
|
||||||
|
|
||||||
- name: Install system dependencies (ubuntu only)
|
|
||||||
if: matrix.platform == 'ubuntu-22.04'
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
|
|
||||||
|
|
||||||
- name: Install JS dependencies
|
- name: Install JS dependencies
|
||||||
run: npm install --workspace=@getpaseo/app --workspace=@getpaseo/desktop --include-workspace-root
|
run: npm install --workspace=@getpaseo/app --workspace=@getpaseo/desktop --include-workspace-root
|
||||||
@@ -110,7 +91,7 @@ jobs:
|
|||||||
NODE
|
NODE
|
||||||
|
|
||||||
- name: Build and publish Tauri release
|
- name: Build and publish Tauri release
|
||||||
uses: tauri-apps/tauri-action@v0.6.1
|
uses: tauri-apps/tauri-action@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
@@ -120,4 +101,4 @@ jobs:
|
|||||||
releaseBody: See the assets to download and install this version.
|
releaseBody: See the assets to download and install this version.
|
||||||
releaseDraft: false
|
releaseDraft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
args: ${{ matrix.args }}
|
args: --target aarch64-apple-darwin
|
||||||
|
|||||||
1
packages/app/.gitignore
vendored
1
packages/app/.gitignore
vendored
@@ -32,6 +32,7 @@ yarn-error.*
|
|||||||
|
|
||||||
# local env files
|
# local env files
|
||||||
.env*.local
|
.env*.local
|
||||||
|
.secrets/
|
||||||
|
|
||||||
# typescript
|
# typescript
|
||||||
*.tsbuildinfo
|
*.tsbuildinfo
|
||||||
|
|||||||
@@ -181,6 +181,16 @@ function Feature({
|
|||||||
function GetStarted() {
|
function GetStarted() {
|
||||||
return (
|
return (
|
||||||
<div className="pt-10">
|
<div className="pt-10">
|
||||||
|
<div className="flex flex-col sm:flex-row gap-3 mb-4">
|
||||||
|
<a
|
||||||
|
href="https://github.com/getpaseo/paseo/releases/latest"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
className="inline-flex items-center justify-center rounded-lg bg-white text-black px-4 py-2 text-sm font-medium hover:bg-white/90 transition-colors"
|
||||||
|
>
|
||||||
|
Download for Mac
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
<CodeBlock>npm install -g @getpaseo/cli && paseo</CodeBlock>
|
<CodeBlock>npm install -g @getpaseo/cli && paseo</CodeBlock>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user