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 146d86b
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 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: main
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 @@ -43,9 +53,9 @@ jobs:
# Enable sccache
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
working-directory: crates/generator
working-directory: radix-engine-toolkit/crates/generator
- name: Upload Generated Artifacts
uses: actions/upload-artifact@v3
with:
name: "schemas-and-test-kit"
path: "crates/generator/output"
path: "radix-engine-toolkit/crates/generator/output"

0 comments on commit 146d86b

Please sign in to comment.