Skip to content

Commit

Permalink
Fix branch name in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
abejgonzalez committed Feb 16, 2022
1 parent 6cfebb7 commit 312ef93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/scripts/defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ REMOTE_MAKE_NPROC=4
VERILATOR_VERSION=v4.034

HOME=$GITHUB_WORKSPACE
CURRENT_BRANCH=$(git branch --show-current)

# remote variables
# CI_DIR is defined externally based on the GH repository secret BUILDDIR

REMOTE_PREFIX=$CI_DIR/${GITHUB_REPOSITORY#*/}-$CURRENT_BRANCH
REMOTE_PREFIX=$CI_DIR/${GITHUB_REPOSITORY#*/}-${GITHUB_REF_NAME//\//-}
REMOTE_WORK_DIR=$GITHUB_WORKSPACE
REMOTE_RISCV_DIR=$GITHUB_WORKSPACE/riscv-tools-install
REMOTE_ESP_DIR=$GITHUB_WORKSPACE/esp-tools-install
Expand Down

0 comments on commit 312ef93

Please sign in to comment.