Skip to content

Commit

Permalink
Build CI: Specify branch
Browse files Browse the repository at this point in the history
  • Loading branch information
0xOmarA committed Nov 27, 2023
1 parent 142111d commit c0f35db
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ on:
type: string
required: true
description: The version to use for the C# package
ref:
type: string
default: "main"
description: The branch, tag, or sha to checkout - default to "main".
push:
# TODO: Remove!
# Temporary due to workflow dispatch restrictions
env:
CARGO_TERM_COLOR: always
Expand All @@ -29,6 +34,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: $INPUT_REF
- name: Install Rust Toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit c0f35db

Please sign in to comment.