Skip to content

Commit 881503d

Browse files
committed
+ Support upload prebuilt artifacts to 'Download Center'
1 parent 1b79412 commit 881503d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/android.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,14 @@ jobs:
7272
files: |
7373
app/build/outputs/apk/release/*.apk
7474
riru/build/release/*.zip
75-
body: "[Github Action](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})"
75+
body: "[Github Action](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})"
76+
- name: Upload artifacts
77+
uses: bxb100/action-upload-webdav@v1
78+
with:
79+
webdav_address: ${{secrets.WEBDAV_ADDRESS}}
80+
webdav_username: ${{secrets.WEBDAV_USERNAME}}
81+
webdav_password: ${{secrets.WEBDAV_PASSWORD}}
82+
webdav_upload_path: "/${{ env.release_version }}"
83+
files: |
84+
app/build/outputs/apk/release/*.apk
85+
riru/build/release/*.zip

0 commit comments

Comments
 (0)