mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-15 15:15:51 +01:00
* fix: fix go test errors * Add flags to mac test * Run on all branches * Update PR workflow Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
37 lines
889 B
YAML
37 lines
889 B
YAML
name: Push Checks
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
push_files_to_crowdin:
|
|
name: Push files to Crowdin
|
|
if: github.repository == 'wailsapp/wails'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Verify Changed files
|
|
uses: tj-actions/verify-changed-files@v11.1
|
|
id: verify-changed-files
|
|
with:
|
|
files: |
|
|
website/**/*.mdx
|
|
website/**/*.md
|
|
website/**/*.json
|
|
|
|
- name: Set node
|
|
if: steps.verify-changed-files.outputs.files_changed != 'true'
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 16.x
|
|
|
|
- name: Push files
|
|
env:
|
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
|
run: |
|
|
cd website
|
|
corepack enable
|
|
pnpm install
|
|
pnpm run crowdin push -b master
|