Update Language Source #117326
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
# This is a basic workflow to help you get started with Actions | |
name: Update Language Source | |
# Controls when the action will run. | |
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 Projects Source Json | |
shell: pwsh | |
run: iwr https://github.com/foundryvtt/dnd5e/raw/4.0.x/lang/en.json | % { if ($_.StatusCode -eq 200) { $_.Content > ./.github/en.json } } | |
- name: Add & Commit | |
uses: EndBug/[email protected] | |
with: | |
add: ".github/en.json" | |
branch: main |