Skip to content
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.

Commit

Permalink
Retry for action-upload-webdav
Browse files Browse the repository at this point in the history
  • Loading branch information
eritpchy committed Apr 8, 2023
1 parent d8f6e46 commit 30cae09
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 21 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/build-jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,15 @@ jobs:
run: ./gradlew --no-daemon :bootJar
-
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.VERSION_INFORMATION }}"
files: |
build/libs/aliyundrive-webdav-${{ env.VERSION_INFORMATION }}.jar
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.VERSION_INFORMATION }}"
files: |
build/libs/aliyundrive-webdav-${{ env.VERSION_INFORMATION }}.jar
attempt_limit: 3
attempt_delay: 0
18 changes: 11 additions & 7 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,15 @@ jobs:
path: "./aliyundrive-webdav-${{matrix.target.suffix}}-${{matrix.target.arch}}"
-
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.VERSION_INFORMATION }}"
files: |
build/native/nativeCompile/aliyundrive-webdav-${{matrix.target.suffix}}-${{matrix.target.arch}}.tar.gz
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.VERSION_INFORMATION }}"
files: |
build/native/nativeCompile/aliyundrive-webdav-${{matrix.target.suffix}}-${{matrix.target.arch}}.tar.gz
attempt_limit: 3
attempt_delay: 0
18 changes: 11 additions & 7 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,15 @@ jobs:
path: "./aliyundrive-webdav-${{matrix.target.suffix}}-${{matrix.target.arch}}.exe"
-
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.VERSION_INFORMATION }}"
files: |
build/native/nativeCompile/aliyundrive-webdav-${{matrix.target.suffix}}-${{matrix.target.arch}}.exe.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.VERSION_INFORMATION }}"
files: |
build/native/nativeCompile/aliyundrive-webdav-${{matrix.target.suffix}}-${{matrix.target.arch}}.exe.zip
attempt_limit: 3
attempt_delay: 0

0 comments on commit 30cae09

Please sign in to comment.