Skip to content

Commit

Permalink
gh-action tag -> release
Browse files Browse the repository at this point in the history
  • Loading branch information
stschiff committed Mar 6, 2024
1 parent 6571714 commit 2213f83
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
name: Release
on:
release:
types: [created]
# Trigger the workflow on the new 'v*' tag created
push:
tags:
- "v*"

jobs:
create_release:
name: Create Github Release
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4

- name: Create Release
id: create_release
uses: ncipollo/release-action@v1
with:
name: Release ${{ github.ref_name }}
draft: true

# build-on-centos:
# runs-on: ubuntu-latest
# steps:
Expand All @@ -27,6 +43,7 @@ jobs:
# for TOOL in genoStats pileupCaller vcf2eigenstrat; do
# bash .github/workflows/upload-github-release-asset.sh github_api_token=${{ secrets.GITHUB_TOKEN }} owner=stschiff repo=sequenceTools tag=$(basename $GITHUB_REF) filename=$TOOL-linux
# done

build-on-mac:
runs-on: macos-latest
steps:
Expand Down

0 comments on commit 2213f83

Please sign in to comment.