Compute state based on github event

This commit is contained in:
Alex Dima 2021-12-10 20:52:34 +01:00
parent d5dd935683
commit 119b4dbe5f
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
3 changed files with 107 additions and 1 deletions

View file

@ -25,12 +25,22 @@ jobs:
repository: 'microsoft/monaco-editor'
path: './monaco-editor'
- name: Compute state
id: state
run: node ./monaco-editor/.github/workflows/publish/computeState.js "${{github.event_name}}" "${{github.event.inputs.nightly}}"
# outputs: version, vscode_branch, skip_monaco_editor_core, skip_monaco_editor
- name: (vscode) checkout
uses: actions/checkout@v2
with:
repository: 'microsoft/vscode'
ref: ${{ steps.state.outputs.vscode_branch }}"
path: './vscode'
# TODO
- name: Early stop
run: exit 1
- name: (vscode-loc) checkout
uses: actions/checkout@v2
with: