From 27327d57c4c820f5374d1a14711044f6548b84ee Mon Sep 17 00:00:00 2001 From: ParticleG Date: Mon, 8 Nov 2021 04:11:04 +0800 Subject: [PATCH] - Test Windows with curl --- .github/workflows/test.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 514a466b..ffc454f0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,14 +51,17 @@ jobs: path: love - name: Pack Techmino run: 7z a -tzip .\Techmino_pre${{ needs.get-info.outputs.release }}_${{ needs.get-info.outputs.commit }}_Windows.zip .\love + # - name: Upload artifact to server + # uses: ./.github/actions/upload-artifact + # with: + # WEBDAV_USERNAME: ${{ secrets.WEBDAV_USERNAME }} + # WEBDAV_PASSWORD: ${{ secrets.WEBDAV_PASSWORD }} + # ARTIFACT_TYPE: test + # ARTIFACT_PLATFORM: Windows + # ARTIFACT_NAME: Techmino_pre${{ needs.get-info.outputs.release }}_${{ needs.get-info.outputs.commit }}_Windows.zip - name: Upload artifact to server - uses: ./.github/actions/upload-artifact - with: - WEBDAV_USERNAME: ${{ secrets.WEBDAV_USERNAME }} - WEBDAV_PASSWORD: ${{ secrets.WEBDAV_PASSWORD }} - ARTIFACT_TYPE: test - ARTIFACT_PLATFORM: Windows - ARTIFACT_NAME: Techmino_pre${{ needs.get-info.outputs.release }}_${{ needs.get-info.outputs.commit }}_Windows.zip + run: | + curl --user "${{ secrets.WEBDAV_USERNAME }}:${{ secrets.WEBDAV_PASSWORD }}" -T Techmino_pre${{ needs.get-info.outputs.release }}_${{ needs.get-info.outputs.commit }}_Windows.zip http://mc.yuhao7370.top:5212/dav/Techmino%20Snapshots/ -v build-linux: runs-on: ubuntu-20.04