Skip to content

Commit d79261f

Browse files
committedOct 19, 2022
Specify branch in release process.
1 parent d28e0b4 commit d79261f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎.github/workflows/build_rust.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
runs-on: ${{ matrix.settings.host }}
3535
steps:
3636
- uses: actions/checkout@v3
37+
with:
38+
ref: "${{ inputs.release_branch }}"
3739

3840
- name: Install
3941
uses: actions-rs/toolchain@v1
@@ -72,7 +74,7 @@ jobs:
7274
# Use the empty string ("") to ignore status or conclusion in the search
7375
workflow_conclusion: success
7476
# Optional, will use the specified branch. Defaults to all branches
75-
branch: main
77+
branch: ${{ inputs.release_branch }}
7678
# Optional, uploaded artifact name,
7779
# will download all artifacts if not specified
7880
# and extract them into respective subdirectories

0 commit comments

Comments
 (0)
Please sign in to comment.