Merge pull request #1506 from celetor/master

更新
pull/1511/head
kunfei 3 years ago committed by GitHub
commit 122a1c3bad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .github/workflows/release.yml
  2. 5
      .github/workflows/test.yml

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

@ -127,9 +127,8 @@ jobs:
run: mv */*.apk . ;rm -rf */ run: mv */*.apk . ;rm -rf */
- name: Push To "test" Branch - name: Push To "test" Branch
run: | run: |
git init git config --global user.name "github-actions[bot]"
git config --local user.name "github-actions[bot]" git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local 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 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 mv -f $GITHUB_WORKSPACE/apk/*.apk test-branch
cd test-branch cd test-branch

Loading…
Cancel
Save