Andromeda: delta score (#357) #64
Workflow file for this run
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: release-on-tag | |
# Controls when the action will run. | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
make-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Extract version from OBO | |
run: | | |
CV_VERSION=`grep data-version psi-ms.obo | grep -oP "(\d+.\d+.\d+)"` | |
echo CV_VERSION=${CV_VERSION} | |
echo "CV_VERSION=${CV_VERSION}" >> $GITHUB_ENV | |
cp psi-ms.owl ms.owl | |
- name: Create a GitHub release | |
uses: ncipollo/release-action@v1 | |
with: | |
tag: v${{ env.CV_VERSION }} | |
name: Release v${{ env.CV_VERSION }} | |
artifacts: "psi-ms.obo,*ms.owl" | |
generateReleaseNotes: true | |
token: ${{ secrets.PSI_MS_CV_GITHUB_TOKEN }} |