-
Notifications
You must be signed in to change notification settings - Fork 17
40 lines (36 loc) · 1 KB
/
daily-build-test.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
33
34
35
36
37
38
39
40
name: Daily build test
on:
workflow_dispatch:
push:
branches:
- 'develop'
# schedule:
# - cron: "0 0 * * 1-5" # At 00:00 on every day-of-week from Monday through Friday.
concurrency:
group: daily-build
cancel-in-progress: true
jobs:
update-daily-test-build-from-develop:
uses: ./.github/workflows/build-test.yml
with:
with_high_priority: false
move_to_rft: false
lane: "daily_test"
branch: "develop"
secrets: inherit
add_new_keys_to_lokalise:
runs-on: ubuntu-latest
env:
SCRIPT_DIR: "Scripts/send-new-keys-to-lokalise.sh"
TAG_NAME: "lokalise/synced"
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Run script and sync with Lokalise
env:
LOKALISE_API_TOKEN: ${{ secrets.LOKALISE_API_TOKEN }}
LOKALISE_PROJECT_ID: ${{ secrets.LOKALISE_PROJECT_ID }}
run: |
chmod u+x ${{ env.SCRIPT_DIR }} && ${{ env.SCRIPT_DIR }}