Skip to content

Commit

Permalink
Add a release action
Browse files Browse the repository at this point in the history
  • Loading branch information
scanon committed Aug 26, 2022
1 parent dd54f01 commit 4652fe9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
asset_paths: '["bundle.zip"]'

0 comments on commit 4652fe9

Please sign in to comment.