sync-build #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: sync-build | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: downmload assets amd64 | |
| run: wget https://github.com/RiderLty/go-touch-mapper/releases/latest/download/go-touch-mapper_amd64 -O go-touch-mapper_amd64 | |
| - name: downmload assets arm64 | |
| run: wget https://github.com/RiderLty/go-touch-mapper/releases/latest/download/go-touch-mapper_arm64 -O go-touch-mapper_arm64 | |
| - name: Upload to WebDAV 1 | |
| uses: bxb100/action-upload@main | |
| with: | |
| provider: webdav | |
| provider_options: | | |
| endpoint=${{ secrets.WEBDAV_ENDPOINT }} | |
| username=${{ secrets.WEBDAV_USERNAME }} | |
| password=${{ secrets.WEBDAV_PASSWORD }} | |
| root=/direct/projects/go-touch-mapper/build | |
| include: 'go-touch-mapper_amd64' | |
| - name: Upload to WebDAV 2 | |
| uses: bxb100/action-upload@main | |
| with: | |
| provider: webdav | |
| provider_options: | | |
| endpoint=${{ secrets.WEBDAV_ENDPOINT }} | |
| username=${{ secrets.WEBDAV_USERNAME }} | |
| password=${{ secrets.WEBDAV_PASSWORD }} | |
| root=/direct/projects/go-touch-mapper/build | |
| include: 'go-touch-mapper_arm64' |