Update Language Source #66574
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Language Source | |
on: | |
schedule: | |
- cron: '*/5 * * * *' | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Update Language JSON | |
shell: pwsh | |
run: iwr ${{ secrets.CORE_LANG_URL }} | % { if ($_.StatusCode -eq 200) { $_.Content > ./.github/en.json } } | |
- name: Add & Commit | |
uses: EndBug/add-and-commit@v7.2.1 | |
with: | |
add: ".github/en.json" | |
branch: main |