Skip to content

Update Language Source #117316

Update Language Source

Update Language Source #117316

Workflow file for this run

# 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