This commit is contained in:
celetor 2022-01-07 11:54:26 +08:00
parent d19390fc50
commit 7b790582c6
2 changed files with 4 additions and 6 deletions

View File

@ -82,9 +82,8 @@ jobs:
- name: Push Assets To "release" Branch
if: ${{ github.actor == 'gedoor' }}
run: |
git init
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git clone "https://${{ github.actor }}:${{ secrets.ACTIONS_TOKEN }}@github.com/${{ github.actor }}/release" -b release release-branch
mv -f $GITHUB_WORKSPACE/apk/*.apk release-branch
cd release-branch

View File

@ -127,9 +127,8 @@ jobs:
run: mv */*.apk . ;rm -rf */
- name: Push To "test" Branch
run: |
git init
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git clone "https://${{ github.actor }}:${{ secrets.ACTIONS_TOKEN }}@github.com/${{ github.actor }}/release" -b test test-branch
mv -f $GITHUB_WORKSPACE/apk/*.apk test-branch
cd test-branch