mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-27 11:56:05 +02:00
9606089b2a
* init geolocation plugin * ios impl (w/o js api) * generate ts api * use newer tauri commit * add temporary postinstall * include src in files * guest-js * just ship dist-js for now * fix watcher * fix android compile error * fix android build for real * fix heading type * initial getCurrentPosition android impl (wip) * prevent panics if errors (strings) are sent over the channel * Add android watchPosition implementation * init haptics plugin (android) * ios and new apis (ANDROID IS LIKELY BROKEN - MAY NOT EVEN COMPILE) * use tauri-specta that accounts for raw fn arg idents * add complete android support (it's not working great due to random soft-/hardware support) * fix(haptics): Fix the NotificationFeedbackType::Success and Version (#1) * Fix success feedback and version * Apply suggestions from code review * Update package.json --------- Co-authored-by: Fabian-Lars <118197967+FabianLars-crabnebula@users.noreply.github.com> * android: improve permission callback handling * keep track of ongoing perms requests * rebuild * license headers * rm sqlite feat * fmt * what diff u talkin bout? * ignore dist-js again * fix audits * dedupe api.js * clippy * changefiles * readmes * clean up todos * rm dsstore * rm wrong feats * mirror * covector * rebuild * ios requires the wry feature * lint * update lock --------- Co-authored-by: fabianlars <fabianlars@fabianlars.de> Co-authored-by: Brendan Allan <brendonovich@outlook.com> Co-authored-by: Naman Garg <155433377+naman-crabnebula@users.noreply.github.com> Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
156 lines
5.4 KiB
YAML
156 lines
5.4 KiB
YAML
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
name: check generated files
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/check-generated-files.yml"
|
|
- "**/guest-js/**"
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
changes:
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
packages: ${{ steps.filter.outputs.changes }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dorny/paths-filter@v2
|
|
id: filter
|
|
with:
|
|
filters: |
|
|
authenticator:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/authenticator/guest-js/**
|
|
- plugins/authenticator/src/api-iife.js
|
|
autostart:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/autostart/guest-js/**
|
|
- plugins/autostart/src/api-iife.js
|
|
cli:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/cli/guest-js/**
|
|
- plugins/cli/src/api-iife.js
|
|
clipboard-manager:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/clipboard-manager/guest-js/**
|
|
- plugins/clipboard-manager/src/api-iife.js
|
|
dialog:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/dialog/guest-js/**
|
|
- plugins/dialog/src/api-iife.js
|
|
fs:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/fs/guest-js/**
|
|
- plugins/fs/src/api-iife.js
|
|
geolocation:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/geolocation/guest-js/**
|
|
- plugins/geolocation/src/api-iife.js
|
|
global-shortcut:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/global-shortcut/guest-js/**
|
|
- plugins/global-shortcut/src/api-iife.js
|
|
haptics:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/haptics/guest-js/**
|
|
- plugins/haptics/src/api-iife.js
|
|
http:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/http/guest-js/**
|
|
- plugins/http/src/api-iife.js
|
|
log:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/log/guest-js/**
|
|
- plugins/log/src/api-iife.js
|
|
notification:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/notification/guest-js/**
|
|
- plugins/notification/src/api-iife.js
|
|
os:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/os/guest-js/**
|
|
- plugins/os/src/api-iife.js
|
|
positioner:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/positioner/guest-js/**
|
|
- plugins/positioner/src/api-iife.js
|
|
process:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/process/guest-js/**
|
|
- plugins/process/src/api-iife.js
|
|
shell:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/shell/guest-js/**
|
|
- plugins/shell/src/api-iife.js
|
|
sql:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/sql/guest-js/**
|
|
- plugins/sql/src/api-iife.js
|
|
store:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/store/guest-js/**
|
|
- plugins/store/src/api-iife.js
|
|
stronghold:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/stronghold/guest-js/**
|
|
- plugins/stronghold/src/api-iife.js
|
|
updater:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/updater/guest-js/**
|
|
- plugins/updater/src/api-iife.js
|
|
upload:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/upload/guest-js/**
|
|
- plugins/upload/src/api-iife.js
|
|
websocket:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/websocket/guest-js/**
|
|
- plugins/websocket/src/api-iife.js
|
|
window-state:
|
|
- .github/workflows/check-generated-files.yml
|
|
- plugins/window-state/guest-js/**
|
|
- plugins/window-state/src/api-iife.js
|
|
|
|
test:
|
|
needs: changes
|
|
if: ${{ needs.changes.outputs.packages != '[]' && needs.changes.outputs.packages != '' }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
package: ${{ fromJSON(needs.changes.outputs.packages) }}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Cache pnpm modules
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: ~/.pnpm-store
|
|
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "lts/*"
|
|
- uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 9.x.x
|
|
run_install: true
|
|
|
|
- name: build api
|
|
working-directory: plugins/${{ matrix.package }}
|
|
run: pnpm install && pnpm build
|
|
|
|
- name: check diff
|
|
run: |
|
|
./.scripts/ci/has-diff.sh
|