mirror of
https://github.com/cinnyapp/cinny-desktop.git
synced 2024-12-28 18:36:29 +00:00
efbb86ee72
Bumps [tauri-apps/tauri-action](https://github.com/tauri-apps/tauri-action) from 0.5.6 to 0.5.9. - [Release notes](https://github.com/tauri-apps/tauri-action/releases) - [Changelog](https://github.com/tauri-apps/tauri-action/blob/dev/CHANGELOG.md) - [Commits](https://github.com/tauri-apps/tauri-action/compare/v0.5.6...v0.5.9) --- updated-dependencies: - dependency-name: tauri-apps/tauri-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
name: "Build pull request"
|
|
on:
|
|
#pull_request:
|
|
#types: ['opened', 'synchronize']
|
|
|
|
jobs:
|
|
publish-tauri:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
platform: [macos-latest, ubuntu-20.04, windows-latest]
|
|
|
|
runs-on: ${{ matrix.platform }}
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4.1.7
|
|
with:
|
|
submodules: true
|
|
- name: Setup node
|
|
uses: actions/setup-node@v4.0.2
|
|
with:
|
|
node-version: 20.12.2
|
|
cache: 'npm'
|
|
- name: Install Rust stable
|
|
uses: actions-rs/toolchain@v1.0.7
|
|
with:
|
|
toolchain: stable
|
|
- name: Install dependencies (ubuntu only)
|
|
if: matrix.platform == 'ubuntu-20.04'
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
|
|
- name: Install cinny dependencies
|
|
run: cd cinny && npm ci
|
|
- name: Install tauri dependencies
|
|
run: npm ci
|
|
- name: Build desktop app with Tauri
|
|
uses: tauri-apps/tauri-action@v0.5.9
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |