Skip to content

Commit

Permalink
Specify branch in release process.
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanhammond committed Oct 19, 2022
1 parent d28e0b4 commit d79261f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v3
with:
ref: "${{ inputs.release_branch }}"

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

0 comments on commit d79261f

Please sign in to comment.