Skip to content

Commit 2ca789e

Browse files
committed
Fix fallback input for release action
Apparently the way submodules repos are configured leads to the branches not being mirrored locally (?) As such, the release job's fallback of checking out `'master'` fails whether triggered[^1] or scheduled[^2]. [^1]: https://github.com/ua-parser/uap-python/actions/runs/13090871627 [^2]: https://github.com/ua-parser/uap-python/actions/runs/13092233962
1 parent 1b64406 commit 2ca789e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-builtins.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
persist-credentials: false
2929
- name: update core
3030
env:
31-
TAG: ${{ inputs.tag || 'master '}}
31+
TAG: ${{ inputs.tag || 'origin/master '}}
3232
# needs to detach because we can update to a tag
3333
run: git -C uap-core switch --detach "$TAG"
3434
- name: Set up Python

0 commit comments

Comments
 (0)