From 29cc957fd2dcc2e525f16a10095b87a51961da14 Mon Sep 17 00:00:00 2001 From: Naoto Ono Date: Sun, 25 Dec 2022 22:24:25 +0900 Subject: [PATCH] Add create-namespace.yaml for publishing to to Open VSX --- .github/workflows/create-namespace.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/create-namespace.yaml diff --git a/.github/workflows/create-namespace.yaml b/.github/workflows/create-namespace.yaml new file mode 100644 index 00000000..97e72310 --- /dev/null +++ b/.github/workflows/create-namespace.yaml @@ -0,0 +1,22 @@ +name: Create the namespace + +on: + workflow_dispatch: + +jobs: + createNamespace: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: 16.x + - name: Create the namespace + run: | + npm install + npm install -g ovsx + ovsx create-namespace KoichiSasada + env: + OVSX_PAT: ${{ secrets.OVSX_PAT }}