From 7bcdc921cb5a38b4d15c90409d570cc39bbe0f5e Mon Sep 17 00:00:00 2001 From: Abheek Dhawan <67982792+ADawesomeguy@users.noreply.github.com> Date: Wed, 16 Mar 2022 19:52:28 -0500 Subject: [PATCH] Add action to automatically encode and commit w3strings --- .github/workflows/encode-and-commit.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/encode-and-commit.yml diff --git a/.github/workflows/encode-and-commit.yml b/.github/workflows/encode-and-commit.yml new file mode 100644 index 0000000..639c139 --- /dev/null +++ b/.github/workflows/encode-and-commit.yml @@ -0,0 +1,18 @@ +on: [push] + +jobs: + encode: + runs-on: ubuntu-latest + name: Encode + steps: + - uses: actions/checkout@v3 + - name: Encode + uses: adawesomeguy/w3strings-action@v1.1 + with: + csv-path: 'strings/csv/en.w3strings.csv' + id-space: 6720 + out-dir: 'dlc/dlcStatTrak/content' + language: 'en' + - uses: endbug/add-and-commit@v8 + with: + message: '[CI] Update W3Strings'