Skip to content

Merge pull request #38 from microbiomedata/update-outputs #7

Merge pull request #38 from microbiomedata/update-outputs

Merge pull request #38 from microbiomedata/update-outputs #7

name: Create Release
on:
push:
branches:
- master
paths:
- 'version.txt'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Read version
id: get_version
run: |
VERSION=$(cat version.txt)
echo "VERSION=${VERSION}" >> $GITHUB_ENV
- name: Create bundle zip
run: zip -r bundle.zip *.wdl
- name: Create Release
run: gh release create ${{ env.VERSION }} rqcfilter.wdl interleave_rqcfilter.wdl bundle.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}