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: Plugin build and create dist upon release | |
on: | |
release: | |
branches: | |
-master | |
types: [published] | |
jobs: | |
build-dist: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out GitHub Repo | |
uses: actions/checkout@v2 | |
# | |
# Build the plugin | |
# | |
- name: Build the plugin dist | |
run: make build | |
# | |
# Add the built assets to the release | |
# | |
- name: Upload dist to release | |
uses: alexellis/upload-assets@0.2.2 | |
env: | |
# GITHUB_TOKEN: ${{ secrets.KBASE_BOT_TOKEN }} | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
asset_paths: '["dist.tgz"]' |