Skip to content

Commit 817dc52

Browse files
authoredAug 4, 2020
Add an 'Update LKG' action (microsoft#39897)
1 parent d985e68 commit 817dc52

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
 

‎.github/workflows/blank.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Update LKG
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
branchName:
7+
description: "The name of the branch you'd like to update the Last Known Good (LKG) version of the compiler on."
8+
required: true
9+
default: "master"
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
with:
18+
ref: ${{ github.event.inputs.branchName }}
19+
- name: Use node version 12
20+
uses: actions/setup-node@v1
21+
with:
22+
node-version: 12
23+
registry-url: https://registry.npmjs.org/
24+
25+
- name: Configure Git and Update LKG
26+
run: |
27+
git config user.email "ts_bot@rcavanaugh.com"
28+
git config user.name "TypeScript Bot"
29+
npm install
30+
gulp LKG
31+
npm test
32+
git diff
33+
git add ./lib
34+
git commit -m "Update LKG"
35+
git push

0 commit comments

Comments
 (0)
Please sign in to comment.