Changes to release workflow (#83)
* Add workflow_dispatch trigger * Remove branch check --------- Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
This commit is contained in:
parent
248b9834ff
commit
7334c802ad
1 changed files with 1 additions and 3 deletions
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
|
|
@ -7,6 +7,7 @@ on:
|
|||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
workflow_dispatch:
|
||||
|
||||
# Releases need permissions to read and write the repository contents.
|
||||
# GitHub considers creating releases and uploading assets as writing contents.
|
||||
|
|
@ -17,9 +18,6 @@ jobs:
|
|||
goreleaser:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check if tag belongs to main branch
|
||||
if: endsWith(github.ref, 'main') == false
|
||||
run: exit -1
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
# Allow goreleaser to access older tag information.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue