Fix path to result binary in Linux action

This commit is contained in:
Ilya Fedin 2021-12-11 07:12:43 +04:00 committed by John Preston
parent 4b03fd0f23
commit 1ec2c16d27
1 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ jobs:
- name: Check.
run: |
filePath="$REPO_NAME/out/Debug/bin/Telegram"
filePath="$REPO_NAME/out/Debug/Telegram"
if test -f "$filePath"; then
echo "Build successfully done! :)"
@ -121,7 +121,7 @@ jobs:
- name: Move artifact.
if: env.UPLOAD_ARTIFACT == 'true'
run: |
cd $REPO_NAME/out/Debug/bin
cd $REPO_NAME/out/Debug
mkdir artifact
mv Telegram artifact/
- uses: actions/upload-artifact@master
@ -129,4 +129,4 @@ jobs:
name: Upload artifact.
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ env.REPO_NAME }}/out/Debug/bin/artifact/
path: ${{ env.REPO_NAME }}/out/Debug/artifact/