Skip to content

Commit 05b299a

Browse files
committed
update
1 parent 9f45ffd commit 05b299a

1 file changed

Lines changed: 20 additions & 17 deletions

File tree

.github/workflows/sync-build.yml

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,27 @@ name: sync-build
22

33
on:
44
workflow_dispatch:
5-
65
jobs:
76
build:
8-
- name: downmload assets amd64
9-
run: wget https://github.com/RiderLty/go-touch-mapper/releases/latest/download/go-touch-mapper_amd64 -O go-touch-mapper_amd64
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
11+
- name: downmload assets amd64
12+
run: wget https://github.com/RiderLty/go-touch-mapper/releases/latest/download/go-touch-mapper_amd64 -O go-touch-mapper_amd64
1013

11-
- name: downmload assets arm64
12-
run: wget https://github.com/RiderLty/go-touch-mapper/releases/latest/download/go-touch-mapper_arm64 -O go-touch-mapper_arm64
14+
- name: downmload assets arm64
15+
run: wget https://github.com/RiderLty/go-touch-mapper/releases/latest/download/go-touch-mapper_arm64 -O go-touch-mapper_arm64
1316

14-
- name: Upload to WebDAV
15-
uses: bxb100/action-upload@main
16-
with:
17-
provider: webdav
18-
provider_options: |
19-
endpoint=${{ secrets.WEBDAV_ENDPOINT }}
20-
username=${{ secrets.WEBDAV_USERNAME }}
21-
password=${{ secrets.WEBDAV_PASSWORD }}
22-
root=/test/
23-
include: |
24-
'go-touch-mapper_amd64'
25-
'go-touch-mapper_arm64'
17+
- name: Upload to WebDAV
18+
uses: bxb100/action-upload@main
19+
with:
20+
provider: webdav
21+
provider_options: |
22+
endpoint=${{ secrets.WEBDAV_ENDPOINT }}
23+
username=${{ secrets.WEBDAV_USERNAME }}
24+
password=${{ secrets.WEBDAV_PASSWORD }}
25+
root=/test/
26+
include: |
27+
'go-touch-mapper_amd64'
28+
'go-touch-mapper_arm64'

0 commit comments

Comments
 (0)