Skip to content

Commit

Permalink
+ Add retry for action upload artifacts using Webdav
Browse files Browse the repository at this point in the history
  • Loading branch information
eritpchy committed Jun 15, 2023
1 parent 5748819 commit f0df42b
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,16 @@ jobs:
riru/build/release/*.zip
body: "[Github Action](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})"
- name: Upload artifacts
uses: bxb100/action-upload-webdav@v1
uses: Wandalen/wretry.action@master
with:
webdav_address: ${{secrets.WEBDAV_ADDRESS}}
webdav_username: ${{secrets.WEBDAV_USERNAME}}
webdav_password: ${{secrets.WEBDAV_PASSWORD}}
webdav_upload_path: "/${{ env.release_version }}"
files: |
app/build/outputs/apk/release/*.apk
riru/build/release/*.zip
action: bxb100/action-upload-webdav@v1
with: |
webdav_address: ${{secrets.WEBDAV_ADDRESS}}
webdav_username: ${{secrets.WEBDAV_USERNAME}}
webdav_password: ${{secrets.WEBDAV_PASSWORD}}
webdav_upload_path: "/${{ env.release_version }}"
files: |
app/build/outputs/apk/release/*.apk
riru/build/release/*.zip
attempt_limit: 3
attempt_delay: 0

0 comments on commit f0df42b

Please sign in to comment.