Skip to content

Commit

Permalink
Publish draft releases for non-version tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha committed Jun 13, 2024
1 parent 4e413ea commit bc6fdca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- '*'
tags:
- 'v*'
- '*'
pull_request:
branches:
- '*'
Expand Down Expand Up @@ -103,8 +103,9 @@ jobs:
cd foo
lake build
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
files: elan-${{ matrix.release-target-name || matrix.target }}*
draft: ${{ !startsWith(github.ref, 'refs/tags/v') }}
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit bc6fdca

Please sign in to comment.