Skip to content

Commit b667513

Browse files
Update release-build.yml
This should be it, the final change.
1 parent 6632f91 commit b667513

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ jobs:
137137
- name: Get latest release (on workflow_dispatch)
138138
if: github.event_name == 'workflow_dispatch'
139139
id: latest_release
140+
shell: bash
140141
run: |
141142
# Try to get the latest release
142143
if LATEST_RELEASE=$(gh api repos/${{ github.repository }}/releases/latest --jq '.tag_name' 2>/dev/null); then
@@ -153,6 +154,7 @@ jobs:
153154

154155
- name: Create release if none exists (on workflow_dispatch)
155156
if: github.event_name == 'workflow_dispatch' && steps.latest_release.outputs.exists == 'false'
157+
shell: bash
156158
run: |
157159
gh release create ${{ steps.latest_release.outputs.tag_name }} \
158160
--title "Release ${{ steps.latest_release.outputs.tag_name }}" \
@@ -163,6 +165,7 @@ jobs:
163165

164166
- name: Upload to release (on workflow_dispatch)
165167
if: github.event_name == 'workflow_dispatch'
168+
shell: bash
166169
run: |
167170
gh release upload ${{ steps.latest_release.outputs.tag_name }} \
168171
"artifacts/${{ steps.artifact.outputs.name }}" \

0 commit comments

Comments
 (0)