Skip to content

Commit e11b53c

Browse files
committed
Github action use bxb100/action-upload@main
1 parent ea9ad89 commit e11b53c

File tree

1 file changed

+24
-18
lines changed

1 file changed

+24
-18
lines changed

.github/workflows/android.yml

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -79,39 +79,45 @@ jobs:
7979
- name: Upload artifacts - Xposed
8080
uses: Wandalen/wretry.action@master
8181
with:
82-
action: bxb100/action-upload-webdav@v1
82+
action: bxb100/action-upload@main
8383
with: |
84-
webdav_address: ${{secrets.WEBDAV_ADDRESS}}
85-
webdav_username: ${{secrets.WEBDAV_USERNAME}}
86-
webdav_password: ${{secrets.WEBDAV_PASSWORD}}
87-
webdav_upload_path: "/${{ env.release_version }}"
88-
files: |
84+
provider: webdav
85+
provider_options: |
86+
endpoint=${{secrets.WEBDAV_ADDRESS}}
87+
username=${{secrets.WEBDAV_USERNAME}}
88+
password=${{secrets.WEBDAV_PASSWORD}}
89+
root=/${{ env.release_version }}
90+
include: |
8991
app/build/outputs/apk/release/*.apk
9092
attempt_limit: 3
9193
attempt_delay: 0
9294
- name: Upload artifacts - Zygisk
9395
uses: Wandalen/wretry.action@master
9496
with:
95-
action: bxb100/action-upload-webdav@v1
97+
action: bxb100/action-upload@main
9698
with: |
97-
webdav_address: ${{secrets.WEBDAV_ADDRESS}}
98-
webdav_username: ${{secrets.WEBDAV_USERNAME}}
99-
webdav_password: ${{secrets.WEBDAV_PASSWORD}}
100-
webdav_upload_path: "/${{ env.release_version }}"
101-
files: |
99+
provider: webdav
100+
provider_options: |
101+
endpoint=${{secrets.WEBDAV_ADDRESS}}
102+
username=${{secrets.WEBDAV_USERNAME}}
103+
password=${{secrets.WEBDAV_PASSWORD}}
104+
root=/${{ env.release_version }}
105+
include: |
102106
module/build/release/zygisk-*.zip
103107
attempt_limit: 3
104108
attempt_delay: 0
105109
- name: Upload artifacts - Riru
106110
uses: Wandalen/wretry.action@master
107111
with:
108-
action: bxb100/action-upload-webdav@v1
112+
action: bxb100/action-upload@main
109113
with: |
110-
webdav_address: ${{secrets.WEBDAV_ADDRESS}}
111-
webdav_username: ${{secrets.WEBDAV_USERNAME}}
112-
webdav_password: ${{secrets.WEBDAV_PASSWORD}}
113-
webdav_upload_path: "/${{ env.release_version }}"
114-
files: |
114+
provider: webdav
115+
provider_options: |
116+
endpoint=${{secrets.WEBDAV_ADDRESS}}
117+
username=${{secrets.WEBDAV_USERNAME}}
118+
password=${{secrets.WEBDAV_PASSWORD}}
119+
root=/${{ env.release_version }}
120+
include: |
115121
module/build/release/riru-*.zip
116122
attempt_limit: 3
117123
attempt_delay: 0

0 commit comments

Comments
 (0)