mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 15:45:12 +00:00
Fix upload artifact condition in Windows action
This commit is contained in:
4
.github/workflows/win.yml
vendored
4
.github/workflows/win.yml
vendored
@@ -176,13 +176,13 @@ jobs:
|
|||||||
cmake --build ..\out --config Debug --parallel
|
cmake --build ..\out --config Debug --parallel
|
||||||
|
|
||||||
- name: Move artifact.
|
- name: Move artifact.
|
||||||
if: (env.UPLOAD_ARTIFACT == 'true') || ${{ github.ref == 'refs/heads/nightly' }}
|
if: (env.UPLOAD_ARTIFACT == 'true') || (github.ref == 'refs/heads/nightly')
|
||||||
run: |
|
run: |
|
||||||
mkdir artifact
|
mkdir artifact
|
||||||
move %TBUILD%\%REPO_NAME%\out\Debug\Telegram.exe artifact/
|
move %TBUILD%\%REPO_NAME%\out\Debug\Telegram.exe artifact/
|
||||||
- uses: actions/upload-artifact@master
|
- uses: actions/upload-artifact@master
|
||||||
name: Upload artifact.
|
name: Upload artifact.
|
||||||
if: (env.UPLOAD_ARTIFACT == 'true') || ${{ github.ref == 'refs/heads/nightly' }}
|
if: (env.UPLOAD_ARTIFACT == 'true') || (github.ref == 'refs/heads/nightly')
|
||||||
with:
|
with:
|
||||||
name: ${{ env.ARTIFACT_NAME }}
|
name: ${{ env.ARTIFACT_NAME }}
|
||||||
path: artifact\
|
path: artifact\
|
||||||
|
Reference in New Issue
Block a user