diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index d94ada0..5a651ce 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -14,6 +14,8 @@ jobs: publish: true prerelease: false config-name: auto-release.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} outputs: upload_url: ${{ steps.publish.outputs.upload_url }} @@ -21,18 +23,17 @@ jobs: runs-on: ubuntu-latest needs: - publish - strategy: - matrix: - node-version: [10.x, 12.x, 14.x, 15.x] steps: - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js 15.x uses: actions/setup-node@v1 with: - node-version: ${{ matrix.node-version }} + node-version: 15.x - run: npm install - run: npm pkg - uses: shogo82148/actions-upload-release-asset@v1 with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: release/* + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}