From 8b73b9d9ee872e22cdc3e9430e3f80f983fe5edc Mon Sep 17 00:00:00 2001 From: jun yu <215613905@qq.com> Date: Fri, 7 Mar 2025 16:05:58 +0800 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 63848098..dbd82d3b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -157,21 +157,6 @@ jobs: artifacts: | TVBoxOSC/apk/*.apk TVBoxOSC/apk/sourceCode-${{ env.commitS }}.* - - name: Push to master - if: ${{ env.commit }} - run: | - rm -rf TVBoxOSC - git reset --hard - sed -i '/url =/d' ./.git/config - git config --local user.name "github-actions[bot]" - git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" - git remote set-url --add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}" - git pull --rebase - sed -i "/${{ matrix.userName }}\/${{ matrix.repoName }}/s#Updated: [a-zA-Z0-9]*#Updated: ${{ env.commit }}#" README.md - git add --all - git commit -m "${{ env.commit }}" - git push -u -f origin master - clean: needs: build runs-on: ubuntu-latest