Skip to content

Commit 390894c

Browse files
authored
Merge pull request #15 from LuisLiraC/feat/release-with-tag
Release using tags
2 parents 64879f0 + 513f7f7 commit 390894c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
name: Release Binary
22

33
on:
4-
workflow_dispatch:
5-
inputs:
6-
tag:
7-
description: 'Tag to release'
8-
required: true
4+
create:
95

106
jobs:
117
build-artifacts:
8+
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
129
runs-on: ubuntu-latest
1310
name: Build Artifacts
1411
env:
@@ -72,4 +69,3 @@ jobs:
7269
uses: ncipollo/release-action@v1
7370
with:
7471
artifacts: "Linux/Linux.tgz"
75-
tag: ${{ github.event.inputs.tag }}

0 commit comments

Comments
 (0)