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 f422684
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 22 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build-jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,14 @@ jobs:
name: Upload artifacts
uses: Wandalen/[email protected]
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-${{ env.VERSION_INFORMATION }}.jar'
attempt_limit: 3
attempt_delay: 0
16 changes: 8 additions & 8 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 @@ -78,13 +77,14 @@ jobs:
name: Upload artifacts
uses: Wandalen/[email protected]
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}}-${{matrix.target.arch}}.tar.gz'
attempt_limit: 3
attempt_delay: 0
15 changes: 8 additions & 7 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,14 @@ jobs:
name: Upload artifacts
uses: Wandalen/[email protected]
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}}-${{matrix.target.arch}}.exe.zip'
attempt_limit: 3
attempt_delay: 0

0 comments on commit f422684

Please sign in to comment.