浏览代码

Fixes publish github action.

Henning Dieterichs 3 年之前
父节点
当前提交
a903ac1afc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/publish.yml

+ 1 - 1
.github/workflows/publish.yml

@@ -12,7 +12,7 @@ on:
         default: 'true'
         default: 'true'
 jobs:
 jobs:
   publish:
   publish:
-    if: github.repository == "microsoft/monaco-editor"
+    if: ${{ github.repository == 'microsoft/monaco-editor' }}
     name: Publish to npm
     name: Publish to npm
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps: