From 252e010eb73ddc2fa1a37c1dade7bf35d87106cd Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Fri, 10 Dec 2021 22:34:18 +0100 Subject: [PATCH] Final tweaks --- .github/workflows/publish.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a78fbf6a..8135b6bc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,11 +30,7 @@ jobs: run: | echo '::echo::on' 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 - - # TODO - - name: Early stop - run: exit 1 + # outputs: dist_tag, version, vscode_branch, skip_monaco_editor_core, skip_monaco_editor - name: (vscode) checkout if: ${{ steps.state.outputs.skip_monaco_editor_core == 'false' }} @@ -144,8 +140,7 @@ jobs: - name: Publish `monaco-editor-core` if: ${{ steps.state.outputs.skip_monaco_editor_core == 'false' }} working-directory: './vscode/out-monaco-editor-core' - run: npm publish --tag next - #TODO + run: npm publish --tag ${{ steps.state.outputs.dist_tag }} - name: Delete `npm` config if: ${{ steps.state.outputs.skip_monaco_editor_core == 'false' }} @@ -223,5 +218,4 @@ jobs: - name: Publish `monaco-editor` if: ${{ steps.state.outputs.skip_monaco_editor == 'false' }} working-directory: './monaco-editor/release' - run: npm publish --tag next - #TODO + run: npm publish --tag ${{ steps.state.outputs.dist_tag }}