diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 866b52f..18394c5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,20 +18,20 @@ on: jobs: if_merged: + name: Publish the VS Code Extension to Open VSX if: github.event.pull_request.merged == true - name: Publish the VS Code Extension to Open VSX - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Install Node.js - uses: actions/setup-node@v3 - with: - node-version: '18' - - run: npm install --frozen-lockfile - - run: npm install -g vsce - - run: npm run pretest - - name: Finally, publish to the marketplace. - run: npm run publish --registry=https://open-vsx.org/ - env: - VSCE_PAT: ${{ secrets.OPEN_VSX_MARKETPLACE_TOKEN }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' + - run: npm install --frozen-lockfile + - run: npm install -g vsce + - run: npm run pretest + - name: Finally, publish to the marketplace. + run: npm run publish --registry=https://open-vsx.org/ + env: + VSCE_PAT: ${{ secrets.OPEN_VSX_MARKETPLACE_TOKEN }}