mirror of
https://github.com/flatcar/scripts.git
synced 2026-01-26 10:52:03 +01:00
Merge pull request #387 from flatcar-linux/scripts
.github: Specify remote when checking out c-o/p-s ref in workflow
This commit is contained in:
commit
bbd91e96be
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -112,7 +112,7 @@ jobs:
|
||||
[[ "$REMOTE" == "https:*" ]] || REMOTE="https://github.com/${COREOS_REMOTE}"
|
||||
git -C "$REPO_PATH" remote add test "$REMOTE"
|
||||
git -C "$REPO_PATH" fetch test
|
||||
git -C "$REPO_PATH" checkout "${COREOS_REF}"
|
||||
git -C "$REPO_PATH" checkout "test/${COREOS_REF}"
|
||||
fi
|
||||
|
||||
if [ "${PORTAGE_REMOTE}" != "" -a "${PORTAGE_REF}" != "" ]
|
||||
@ -122,7 +122,7 @@ jobs:
|
||||
[[ "$REMOTE" == "https:*" ]] || REMOTE="https://github.com/${PORTAGE_REMOTE}"
|
||||
git -C "$REPO_PATH" remote add test "$REMOTE"
|
||||
git -C "$REPO_PATH" fetch test
|
||||
git -C "$REPO_PATH" checkout "${PORTAGE_REF}"
|
||||
git -C "$REPO_PATH" checkout "test/${PORTAGE_REF}"
|
||||
fi
|
||||
|
||||
- name: Build packages
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user