fix: don't checkout insider for stable [skip ci]
This commit is contained in:
parent
3b1a4e39c6
commit
efca1a2c2c
2 changed files with 2 additions and 6 deletions
2
.github/workflows/stable-spearhead.yml
vendored
2
.github/workflows/stable-spearhead.yml
vendored
|
@ -23,8 +23,6 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: insider
|
||||
|
||||
- name: Setup Node.js environment
|
||||
uses: actions/setup-node@v4
|
||||
|
|
|
@ -24,10 +24,8 @@ cd vscode || { echo "'vscode' dir not found"; exit 1; }
|
|||
for file in ../patches/*.patch; do
|
||||
if [[ -f "${file}" ]]; then
|
||||
echo applying patch: "${file}";
|
||||
|
||||
grep '^+++' "${file}" | sed -e 's#+++ [ab]/#./vscode/#' | while read line; do shasum -a 256 "${line}"; done
|
||||
|
||||
if ! git apply --verbose --ignore-whitespace "${file}"; then
|
||||
# grep '^+++' "${file}" | sed -e 's#+++ [ab]/#./vscode/#' | while read line; do shasum -a 256 "${line}"; done
|
||||
if ! git apply --ignore-whitespace "${file}"; then
|
||||
echo failed to apply patch "${file}" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue