diff --git a/.github/workflows/release_publish.yml b/.github/workflows/release_publish.yml index 7f29cfd..40eef69 100644 --- a/.github/workflows/release_publish.yml +++ b/.github/workflows/release_publish.yml @@ -6,21 +6,22 @@ on: - '*' jobs: + build: runs-on: windows-latest permissions: contents: write steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: '16.x' - registry-url: 'https://registry.npmjs.org' - - run: npm install - - run: npm run create_dist - - uses: ncipollo/release-action@v1 - with: - artifacts: "build\final\package\*" - bodyFile: ".github/workflows/release_template.md" - draft: true - token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '16.x' + registry-url: 'https://registry.npmjs.org' + - run: npm install + - run: npm run create_dist + - uses: ncipollo/release-action@v1 + with: + artifacts: "build/final/package/*" + bodyFile: ".github/workflows/release_template.md" + draft: true + token: ${{ secrets.GITHUB_TOKEN }}