From 0bfd0f1a8ecaab2a1395cbb603c5a41f6fc1305a Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Tue, 4 Aug 2020 00:05:00 -0700 Subject: [PATCH] Add an 'Update LKG' action --- .github/workflows/blank.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000000000..09fccd53a0777 --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,35 @@ +name: Update LKG + +on: + workflow_dispatch: + inputs: + branchName: + description: "The name of the branch you'd like to update the Last Known Good (LKG) version of the compiler on." + required: true + default: "master" + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + with: + ref: ${{ github.event.inputs.branchName }} + - name: Use node version 12 + uses: actions/setup-node@v1 + with: + node-version: 12 + registry-url: https://registry.npmjs.org/ + + - name: Configure Git and Update LKG + run: | + git config user.email "ts_bot@rcavanaugh.com" + git config user.name "TypeScript Bot" + npm install + gulp LKG + npm test + git diff + git add ./lib + git commit -m "Update LKG" + git push