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