Merge branch 'main' into patch-1
This commit is contained in:
commit
e97b79f879
|
@ -38,6 +38,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: "**/node_modules"
|
path: "**/node_modules"
|
||||||
key: yarn-build-${{ hashFiles('**/yarn.lock') }}
|
key: yarn-build-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
yarn-build-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.cache-yarn.outputs.cache-hit != 'true'
|
if: steps.cache-yarn.outputs.cache-hit != 'true'
|
||||||
|
@ -78,6 +80,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: "**/node_modules"
|
path: "**/node_modules"
|
||||||
key: yarn-build-${{ hashFiles('**/yarn.lock') }}
|
key: yarn-build-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
yarn-build-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.cache-yarn.outputs.cache-hit != 'true'
|
if: steps.cache-yarn.outputs.cache-hit != 'true'
|
||||||
|
@ -107,6 +111,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: "**/node_modules"
|
path: "**/node_modules"
|
||||||
key: yarn-build-${{ hashFiles('**/yarn.lock') }}
|
key: yarn-build-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
yarn-build-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.cache-yarn.outputs.cache-hit != 'true'
|
if: steps.cache-yarn.outputs.cache-hit != 'true'
|
||||||
|
@ -347,6 +353,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: "**/node_modules"
|
path: "**/node_modules"
|
||||||
key: yarn-build-${{ hashFiles('**/yarn.lock') }}
|
key: yarn-build-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
yarn-build-
|
||||||
|
|
||||||
- name: Download release packages
|
- name: Download release packages
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
|
|
|
@ -42,6 +42,13 @@ jobs:
|
||||||
needs: npm
|
needs: npm
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
|
# Ensure things are up to date
|
||||||
|
# Suggested by homebrew maintainers
|
||||||
|
# https://github.com/Homebrew/discussions/discussions/1532#discussioncomment-782633
|
||||||
|
- name: Set up Homebrew
|
||||||
|
id: set-up-homebrew
|
||||||
|
uses: Homebrew/actions/setup-homebrew@master
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Configure git
|
- name: Configure git
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -58,6 +58,10 @@ VS Code v0.00.0
|
||||||
- chore: cross-compile docker images with buildx #3166 @oxy
|
- chore: cross-compile docker images with buildx #3166 @oxy
|
||||||
- chore: update node to v14 #3458 @oxy
|
- chore: update node to v14 #3458 @oxy
|
||||||
|
|
||||||
|
### Development
|
||||||
|
|
||||||
|
- fix(publish): update cdrci fork in brew-bump.sh #3468 @jsjoeio
|
||||||
|
|
||||||
## 3.10.2
|
## 3.10.2
|
||||||
|
|
||||||
VS Code v1.56.1
|
VS Code v1.56.1
|
||||||
|
|
|
@ -75,7 +75,7 @@ main() {
|
||||||
|
|
||||||
# This is a copy of symlink_asar in ../lib.sh. Look there for details.
|
# This is a copy of symlink_asar in ../lib.sh. Look there for details.
|
||||||
symlink_asar() {
|
symlink_asar() {
|
||||||
rm -f node_modules.asar
|
rm -rf node_modules.asar
|
||||||
if [ "${WINDIR-}" ]; then
|
if [ "${WINDIR-}" ]; then
|
||||||
mklink /J node_modules.asar node_modules
|
mklink /J node_modules.asar node_modules
|
||||||
else
|
else
|
||||||
|
|
|
@ -113,7 +113,7 @@ RELEASE_PATH="${RELEASE_PATH-release}"
|
||||||
# Code itself but also extensions will look specifically in this directory for
|
# Code itself but also extensions will look specifically in this directory for
|
||||||
# files (like the ripgrep binary or the oniguruma wasm).
|
# files (like the ripgrep binary or the oniguruma wasm).
|
||||||
symlink_asar() {
|
symlink_asar() {
|
||||||
rm -f node_modules.asar
|
rm -rf node_modules.asar
|
||||||
if [ "${WINDIR-}" ]; then
|
if [ "${WINDIR-}" ]; then
|
||||||
# mklink takes the link name first.
|
# mklink takes the link name first.
|
||||||
mklink /J node_modules.asar node_modules
|
mklink /J node_modules.asar node_modules
|
||||||
|
|
|
@ -26,7 +26,14 @@ main() {
|
||||||
git merge upstream/master
|
git merge upstream/master
|
||||||
|
|
||||||
echo "Pushing changes to cdrci/homebrew-core fork on GitHub"
|
echo "Pushing changes to cdrci/homebrew-core fork on GitHub"
|
||||||
git push origin master
|
# Source: https://serverfault.com/a/912788
|
||||||
|
# shellcheck disable=SC2016,SC2028
|
||||||
|
echo '#!/bin/sh\nexec echo "$HOMEBREW_GITHUB_API_TOKEN"' >"$HOME"/.git-askpass.sh
|
||||||
|
# Ensure it's executable since we just created it
|
||||||
|
chmod +x "$HOME/.git-askpass.sh"
|
||||||
|
# GIT_ASKPASS lets us use the password when pushing without revealing it in the process list
|
||||||
|
# See: https://serverfault.com/a/912788
|
||||||
|
GIT_ASKPASS="$HOME/.git-askpass.sh" git push https://cdr-oss@github.com/cdr-oss/homebrew-core.git --all
|
||||||
|
|
||||||
# Find the docs for bump-formula-pr here
|
# Find the docs for bump-formula-pr here
|
||||||
# https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L18
|
# https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb#L18
|
||||||
|
|
Loading…
Reference in New Issue