FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

build: adjust actions checkout ref parameter on release · python-zeroconf/python-zeroconf@fd33043 · GitHub

Repository navigation

Commit fd33043

Browse files
authored
build: adjust actions checkout ref parameter on release
Let's use github.ref "ref:" parameter on release and create a local branch name.
1 parent 0e94c25 commit fd33043

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,10 @@ jobs:
135135
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
136136
with:
137137
fetch-depth: 0
138-
ref: ${{ github.head_ref || github.ref_name }}
138+
ref: ${{ github.ref }}
139+
140+
- name: Create local branch name
141+
run: git switch -C ${{ github.head_ref || github.ref_name }}
139142

140143
# Do a dry run of PSR
141144
- name: Test release

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL