-
Notifications
You must be signed in to change notification settings - Fork 59
32 lines (24 loc) · 945 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This workflow automatically checks the structure of the localization files
# to ensure they're all good
name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: windows-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Runs the validator executable, if everything is OK the OR statment
# does not evaluate the right expression, otherwise it does and the build has an error
- name: Checking localization file's structure
shell: cmd
run: |
@echo | call check-localization.exe | findstr /c:"All files good" || exit -1