Skip to content

Commit 9be72b9

Browse files
committed
chore(ci): rename and update release workflow
1 parent c3713bf commit 9be72b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release
1+
name: Publish Hex Package
22

33
on:
44
release:
@@ -8,7 +8,7 @@ on:
88
tag:
99
description: "The git tag for the release to publish"
1010
type: string
11-
default: ${{ github.ref }}
11+
required: true
1212

1313
jobs:
1414
publish:
@@ -17,7 +17,7 @@ jobs:
1717
- name: Check out
1818
uses: actions/checkout@v3
1919
with:
20-
ref: ${{ inputs.tag }}
20+
ref: ${{ inputs.tag || github.ref }}
2121

2222
- name: Set up Elixir
2323
uses: erlef/setup-beam@v1

0 commit comments

Comments
 (0)