Skip to content

Commit 4f43d9a

Browse files
committed
Remove WebDAV upload steps from CI
1 parent be0fa0e commit 4f43d9a

1 file changed

Lines changed: 1 addition & 59 deletions

File tree

.github/workflows/android.yml

Lines changed: 1 addition & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -90,62 +90,4 @@ jobs:
9090
module/build/release/*.zip
9191
app/build/outputs/apk/release/*.apk
9292
app/build/outputs/mapping/release/mapping.txt
93-
body: "[Github Action](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})"
94-
- name: Check WebDAV credentials
95-
id: check-webdav
96-
run: |
97-
if [[ -n "${{ secrets.WEBDAV_ADDRESS }}" && -n "${{ secrets.WEBDAV_USERNAME }}" && -n "${{ secrets.WEBDAV_PASSWORD }}" ]]; then
98-
echo "webdav_available=true" >> $GITHUB_OUTPUT
99-
echo "WebDAV credentials are available"
100-
else
101-
echo "webdav_available=false" >> $GITHUB_OUTPUT
102-
echo "WebDAV credentials are missing or incomplete"
103-
fi
104-
- name: Upload artifacts - Xposed
105-
if: steps.check-webdav.outputs.webdav_available == 'true'
106-
uses: Wandalen/wretry.action@master
107-
with:
108-
action: bxb100/action-upload@main
109-
with: |
110-
provider: webdav
111-
provider_options: |
112-
endpoint=${{secrets.WEBDAV_ADDRESS}}
113-
username=${{secrets.WEBDAV_USERNAME}}
114-
password=${{secrets.WEBDAV_PASSWORD}}
115-
root=/${{ env.release_version }}-dev
116-
include: |
117-
app/build/outputs/apk/release/*.apk
118-
attempt_limit: 3
119-
attempt_delay: 0
120-
- name: Upload artifacts - Zygisk
121-
if: steps.check-webdav.outputs.webdav_available == 'true'
122-
uses: Wandalen/wretry.action@master
123-
with:
124-
action: bxb100/action-upload@main
125-
with: |
126-
provider: webdav
127-
provider_options: |
128-
endpoint=${{secrets.WEBDAV_ADDRESS}}
129-
username=${{secrets.WEBDAV_USERNAME}}
130-
password=${{secrets.WEBDAV_PASSWORD}}
131-
root=/${{ env.release_version }}-dev
132-
include: |
133-
module/build/release/zygisk-*.zip
134-
attempt_limit: 3
135-
attempt_delay: 0
136-
- name: Upload artifacts - Riru
137-
if: steps.check-webdav.outputs.webdav_available == 'true'
138-
uses: Wandalen/wretry.action@master
139-
with:
140-
action: bxb100/action-upload@main
141-
with: |
142-
provider: webdav
143-
provider_options: |
144-
endpoint=${{secrets.WEBDAV_ADDRESS}}
145-
username=${{secrets.WEBDAV_USERNAME}}
146-
password=${{secrets.WEBDAV_PASSWORD}}
147-
root=/${{ env.release_version }}-dev
148-
include: |
149-
module/build/release/riru-*.zip
150-
attempt_limit: 3
151-
attempt_delay: 0
93+
body: "[Github Action](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})"

0 commit comments

Comments
 (0)