v0.6.6 #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
release: | |
types: [published] | |
jobs: | |
release: | |
name: Prepare release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
# Build | |
- name: Build the file | |
run: | | |
cd /home/runner/work/boilerplate-card/boilerplate-card | |
npm install | |
npm run build | |
# Upload build file to the releas as an asset. | |
- name: Upload zip to release | |
uses: svenstaro/upload-release-action@v1-release | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: /home/runner/work/boilerplate-card/boilerplate-card/dist/boilerplate-card.js | |
asset_name: boilerplate-card.js | |
tag: ${{ github.ref }} | |
overwrite: true |