Skip to content

Commit

Permalink
attempt to fix auto-release (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen authored Jun 7, 2021
1 parent 4a90244 commit 2d21778
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,26 @@ jobs:
publish: true
prerelease: false
config-name: auto-release.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
outputs:
upload_url: ${{ steps.publish.outputs.upload_url }}

build:
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 }}

0 comments on commit 2d21778

Please sign in to comment.