mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
860cd198b9
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@ -82,14 +82,13 @@ jobs:
|
|||||||
- name: Push Assets To "release" Branch
|
- name: Push Assets To "release" Branch
|
||||||
if: ${{ github.actor == 'gedoor' }}
|
if: ${{ github.actor == 'gedoor' }}
|
||||||
run: |
|
run: |
|
||||||
cd $GITHUB_WORKSPACE/apk || exit 1
|
git config --global user.name "github-actions[bot]"
|
||||||
git init
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
git config --local user.name "github-actions[bot]"
|
git clone "https://${{ github.actor }}:${{ secrets.ACTIONS_TOKEN }}@github.com/${{ github.actor }}/release" -b release release-branch
|
||||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
mv -f $GITHUB_WORKSPACE/apk/*.apk release-branch
|
||||||
git checkout -b release
|
cd release-branch
|
||||||
git add *.apk
|
git add *.apk
|
||||||
git commit -m "${{ env.RELEASE_VERSION }}"
|
git commit -m "${{ env.RELEASE_VERSION }}"
|
||||||
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.actor }}/release"
|
|
||||||
git push -f -u origin release
|
git push -f -u origin release
|
||||||
- name: Purge Jsdelivr Cache
|
- name: Purge Jsdelivr Cache
|
||||||
if: ${{ github.actor == 'gedoor' }}
|
if: ${{ github.actor == 'gedoor' }}
|
||||||
|
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
@ -127,14 +127,13 @@ jobs:
|
|||||||
run: mv */*.apk . ;rm -rf */
|
run: mv */*.apk . ;rm -rf */
|
||||||
- name: Push To "test" Branch
|
- name: Push To "test" Branch
|
||||||
run: |
|
run: |
|
||||||
cd $GITHUB_WORKSPACE/apk
|
git config --global user.name "github-actions[bot]"
|
||||||
git init
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
git config --local user.name "github-actions[bot]"
|
git clone "https://${{ github.actor }}:${{ secrets.ACTIONS_TOKEN }}@github.com/${{ github.actor }}/release" -b test test-branch
|
||||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
mv -f $GITHUB_WORKSPACE/apk/*.apk test-branch
|
||||||
git checkout -b test
|
cd test-branch
|
||||||
git add *.apk
|
git add *.apk
|
||||||
git commit -m "${{ needs.prepare.outputs.versionL }}"
|
git commit -m "${{ needs.prepare.outputs.versionL }}"
|
||||||
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.actor }}/release"
|
|
||||||
git push -f -u origin test
|
git push -f -u origin test
|
||||||
|
|
||||||
telegram:
|
telegram:
|
||||||
|
Loading…
Reference in New Issue
Block a user