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 eefc6c7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,25 @@ 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
# TODO: Remove!
# Temporary due to workflow dispatch restrictions
INPUT_REF: chore/restructure
jobs:
build-schemas-and-test-kit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ env.INPUT_REF }}
- name: Install Rust Toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -37,6 +47,8 @@ jobs:
profile: minimal
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Whats here
run: ls -lah
- name: Generate Test Kit
run: cargo run
env:
Expand Down

0 comments on commit eefc6c7

Please sign in to comment.