- Test Windows with curl

This commit is contained in:
ParticleG
2021-11-08 04:11:04 +08:00
committed by MrZ626
parent cce93b6df9
commit 27327d57c4

View File

@@ -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