From 2be587466f26caae750d7693e4ac89fbe7155798 Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Thu, 3 Nov 2022 03:09:53 -0600 Subject: [PATCH] Update check_git_apply.yaml --- .github/workflows/check_git_apply.yaml | 47 ++++++++++++++++---------- 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/.github/workflows/check_git_apply.yaml b/.github/workflows/check_git_apply.yaml index 95144cf..d04e547 100644 --- a/.github/workflows/check_git_apply.yaml +++ b/.github/workflows/check_git_apply.yaml @@ -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)