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)