File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }}" \
You can’t perform that action at this time.
0 commit comments