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

Commit

Permalink
🐛Update github action webdav provider
Browse files Browse the repository at this point in the history
  • Loading branch information
eritpchy committed May 13, 2024
1 parent 06bbb66 commit 3f5d9d3
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 25 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/build-jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,17 @@ jobs:
run: ./gradlew --no-daemon :bootJar
-
name: Upload artifacts
uses: Wandalen/wretry.action@v1.0.36
uses: Wandalen/wretry.action@master
with:
action: bxb100/action-upload-webdav@v1
action: bxb100/action-upload@main
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
provider: webdav
provider_options: |
endpoint=${{secrets.WEBDAV_ADDRESS}}
username=${{secrets.WEBDAV_USERNAME}}
password=${{secrets.WEBDAV_PASSWORD}}
root=/${{ env.VERSION_INFORMATION }}/
include: |
build/libs/aliyundrive-webdav-*.jar
attempt_limit: 3
attempt_delay: 0
19 changes: 10 additions & 9 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
target:
- { os: macos-13, arch: x86_64, suffix: darwin }
- { os: macos-14, arch: arm64, suffix: darwin }
- { os: self-hosted, arch: arm64, suffix: linux }
- { os: ubuntu-22.04, arch: amd64, suffix: linux }
steps:
-
Expand Down Expand Up @@ -76,15 +75,17 @@ jobs:
path: "./aliyundrive-webdav-${{matrix.target.suffix}}-${{matrix.target.arch}}"
-
name: Upload artifacts
uses: Wandalen/wretry.action@v1.0.36
uses: Wandalen/wretry.action@master
with:
action: bxb100/action-upload-webdav@v1
action: bxb100/action-upload@main
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
provider: webdav
provider_options: |
endpoint=${{secrets.WEBDAV_ADDRESS}}
username=${{secrets.WEBDAV_USERNAME}}
password=${{secrets.WEBDAV_PASSWORD}}
root=/${{ env.VERSION_INFORMATION }}/
include: |
build/native/nativeCompile/aliyundrive-webdav-${{matrix.target.suffix}}-*.tar.gz
attempt_limit: 3
attempt_delay: 0
18 changes: 10 additions & 8 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,17 @@ jobs:
path: "./aliyundrive-webdav-${{matrix.target.suffix}}-${{matrix.target.arch}}.exe"
-
name: Upload artifacts
uses: Wandalen/wretry.action@v1.0.36
uses: Wandalen/wretry.action@master
with:
action: bxb100/action-upload-webdav@v1
action: bxb100/action-upload@main
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
provider: webdav
provider_options: |
endpoint=${{secrets.WEBDAV_ADDRESS}}
username=${{secrets.WEBDAV_USERNAME}}
password=${{secrets.WEBDAV_PASSWORD}}
root=/${{ env.VERSION_INFORMATION }}/
include: |
build/native/nativeCompile/aliyundrive-webdav-${{matrix.target.suffix}}-*.exe.zip
attempt_limit: 3
attempt_delay: 0

0 comments on commit 3f5d9d3

Please sign in to comment.