Update check_git_apply.yaml

This commit is contained in:
uazo 2022-11-03 03:09:53 -06:00 committed by GitHub
parent e6d5e6dbb0
commit 2be587466f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,24 +64,7 @@ jobs:
test -d /github/home/.vscode-server || sudo mkdir /github/home/.vscode-server
sudo chown lg /github/home/.vscode-server
- name: Checkout 'uazo/bromite'
uses: actions/checkout@v2
with:
repository: 'uazo/bromite'
ref: ${{ github.event.inputs.rtag }}
path: 'bromite'
fetch-depth: 1
- name: Download chromium sources
shell: bash
run: |
#sleep 2h
export HTTPS_PROXY=http://172.18.0.1:8118
export HTTP_PROXY=http://172.18.0.1:8118
export http_proxy=http://172.18.0.1:8118
export https_proxy=http://172.18.0.1:8118
VERSION=$(cat bromite/build/RELEASE)
./bin/SuperPatchUtils bromite $GITHUB_SHA chromium/src
cd chromium/src
@ -93,6 +76,34 @@ jobs:
git tag -a $VERSION -m $VERSION
cd ../..
- name: Checkout 'uazo/bromite'
uses: actions/checkout@v2
with:
repository: 'uazo/bromite'
ref: ${{ github.event.inputs.rtag }}
path: 'bromite'
fetch-depth: 1
# - name: Download chromium sources
# shell: bash
# run: |
# #sleep 2h
# export HTTPS_PROXY=http://172.18.0.1:8118
# export HTTP_PROXY=http://172.18.0.1:8118
# export http_proxy=http://172.18.0.1:8118
# export https_proxy=http://172.18.0.1:8118
#
# VERSION=$(cat bromite/build/RELEASE)
# ./bin/SuperPatchUtils bromite $GITHUB_SHA chromium/src
# cd chromium/src
# git init
# git config user.email "you@example.com"
# git config user.name "Your Name"
# git add .
# git commit -m $VERSION
# git tag -a $VERSION -m $VERSION
# cd ../..
- name: Apply patches ${{ github.event.inputs.rtag }}
run: |
export HOME=$(pwd)