diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml new file mode 100644 index 0000000..87becd1 --- /dev/null +++ b/.github/workflows/build-release.yml @@ -0,0 +1,31 @@ +name: Build Release Assets +on: + release: + types: [published] + tags: + - 'v*' + +jobs: + build-dist: + runs-on: ubuntu-latest + steps: + - name: Check out GitHub Repo + uses: actions/checkout@v2 + + # + # Generate bundle + # + - name: Generate bundle + run: | + zip bundle.zip *wdl + + # + # Add the built assets to the release + # + - name: Upload specs to release + uses: alexellis/upload-assets@0.2.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + asset_paths: '["bundle.zip"]' +