- Add logs to upload-artifact

This commit is contained in:
ParticleG
2021-11-08 04:51:40 +08:00
committed by MrZ626
parent 27327d57c4
commit d02ae67bc0
2 changed files with 16 additions and 12 deletions

View File

@@ -51,17 +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
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
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
# 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