Merge pull request #112 from microbiomedata/110-convert-final-masic-m… #2
This file contains hidden or 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: | |
| - 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 metap_wdl.zip wdl/* | |
| - name: Create Release | |
| run: gh release create ${{ env.VERSION }} metap_wdl.zip | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |