Update check_git_apply.yaml

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

View File

@ -65,16 +65,7 @@ jobs:
test -d /github/home/.vscode-server || sudo mkdir /github/home/.vscode-server
sudo chown lg /github/home/.vscode-server
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: Checkout 'uazo/bromite'
uses: actions/checkout@v2
@ -84,25 +75,17 @@ jobs:
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: Create chromium sources
run: |
#sleep 2h
VERSION=$(cat bromite/build/RELEASE)
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
- name: Apply patches ${{ github.event.inputs.rtag }}
run: |