Merge pull request #6 from microbiomedata/5-missing-output-files #3
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: Create Release | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'version.txt' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- 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 }} metaT_assembly.wdl bundle.zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |