Skip to content

Commit 3f8bad2

Browse files
committed
use ref_name
Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>
1 parent 4474bcb commit 3f8bad2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v6
2121
with:
22-
ref: ${{ github.event.inputs.tag || github.ref }}
22+
ref: ${{ github.event.inputs.tag || github.ref_name }}
2323

2424
- uses: astral-sh/setup-uv@v7
2525
with:
@@ -50,7 +50,7 @@ jobs:
5050
steps:
5151
- uses: actions/checkout@v6
5252
with:
53-
ref: ${{ github.event.inputs.tag || github.ref }}
53+
ref: ${{ github.event.inputs.tag || github.ref_name }}
5454

5555
- uses: astral-sh/setup-uv@v7
5656
with:
@@ -106,7 +106,7 @@ jobs:
106106
steps:
107107
- uses: actions/checkout@v6
108108
with:
109-
ref: ${{ github.event.inputs.tag || github.ref }}
109+
ref: ${{ github.event.inputs.tag || github.ref_name }}
110110

111111
- name: Login to GitHub Container Registry
112112
uses: docker/login-action@v4
@@ -139,7 +139,7 @@ jobs:
139139
steps:
140140
- uses: actions/checkout@v6
141141
with:
142-
ref: ${{ github.event.inputs.tag || github.ref }}
142+
ref: ${{ github.event.inputs.tag || github.ref_name }}
143143

144144
- name: Login to GitHub Container Registry
145145
uses: docker/login-action@v4

0 commit comments

Comments
 (0)