speaker-calibration 2.2.213 → 2.2.215

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,37 @@
1
+ name: Update International Phrases
2
+
3
+ on: workflow_dispatch
4
+
5
+ jobs:
6
+ phrases:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v3
10
+ - uses: actions/setup-node@v3
11
+ with:
12
+ node-version: 16
13
+ - name: Set commit account information
14
+ run: |
15
+ git config --global user.name "github-actions[bot]"
16
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
17
+ - name: Installs
18
+ run: |
19
+ npm install
20
+ - name: Decrypt credentials
21
+ run: |
22
+ gpg --quiet --batch --yes --passphrase="${{secrets.google_api_pw}}" \
23
+ --output dist/example/credentials.json \
24
+ --decrypt dist/example/credentials.json.gpg
25
+ - name: Fetch and update phrases
26
+ run: |
27
+ npm run phrases
28
+ - name: Remove credentials
29
+ run: |
30
+ rm dist/example/credentials.json
31
+ - name: Commit and push changes
32
+ run: |
33
+ git status
34
+ git add -A
35
+ git commit -m 'github action: update phrases' --no-verify
36
+ git remote set-url origin https://x-access-token:${{secrets.ci_token}}@github.com/EasyEyes/speaker-calibration
37
+ git push