Fix path to result binary in Linux action
This commit is contained in:
parent
4b03fd0f23
commit
1ec2c16d27
|
@ -107,7 +107,7 @@ jobs:
|
||||||
|
|
||||||
- name: Check.
|
- name: Check.
|
||||||
run: |
|
run: |
|
||||||
filePath="$REPO_NAME/out/Debug/bin/Telegram"
|
filePath="$REPO_NAME/out/Debug/Telegram"
|
||||||
if test -f "$filePath"; then
|
if test -f "$filePath"; then
|
||||||
echo "Build successfully done! :)"
|
echo "Build successfully done! :)"
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@ jobs:
|
||||||
- name: Move artifact.
|
- name: Move artifact.
|
||||||
if: env.UPLOAD_ARTIFACT == 'true'
|
if: env.UPLOAD_ARTIFACT == 'true'
|
||||||
run: |
|
run: |
|
||||||
cd $REPO_NAME/out/Debug/bin
|
cd $REPO_NAME/out/Debug
|
||||||
mkdir artifact
|
mkdir artifact
|
||||||
mv Telegram artifact/
|
mv Telegram artifact/
|
||||||
- uses: actions/upload-artifact@master
|
- uses: actions/upload-artifact@master
|
||||||
|
@ -129,4 +129,4 @@ jobs:
|
||||||
name: Upload artifact.
|
name: Upload artifact.
|
||||||
with:
|
with:
|
||||||
name: ${{ env.ARTIFACT_NAME }}
|
name: ${{ env.ARTIFACT_NAME }}
|
||||||
path: ${{ env.REPO_NAME }}/out/Debug/bin/artifact/
|
path: ${{ env.REPO_NAME }}/out/Debug/artifact/
|
||||||
|
|
Loading…
Reference in New Issue