Changed app names in CI

Linux build won't build otherwise since output binary name was changed.
This commit is contained in:
Eric Kotato 2020-01-26 05:27:33 +03:00
parent 41e8172aa5
commit 2080b0ca26
3 changed files with 11 additions and 11 deletions

View file

@ -456,7 +456,7 @@ jobs:
mkdir -p breakpad/out/Default/ mkdir -p breakpad/out/Default/
cp breakpad-cache/dump_syms breakpad/out/Default/dump_syms cp breakpad-cache/dump_syms breakpad/out/Default/dump_syms
- name: Telegram Desktop build. - name: Kotatogram Desktop build.
if: env.ONLY_CACHE == 'false' if: env.ONLY_CACHE == 'false'
run: | run: |
cd $REPO_NAME/Telegram cd $REPO_NAME/Telegram
@ -471,12 +471,12 @@ jobs:
cd ../out/Debug cd ../out/Debug
make -j$(nproc) make -j$(nproc)
strip -s bin/Telegram strip -s bin/Kotatogram
- name: Check. - name: Check.
if: env.ONLY_CACHE == 'false' if: env.ONLY_CACHE == 'false'
run: | run: |
filePath="$REPO_NAME/out/Debug/bin/Telegram" filePath="$REPO_NAME/out/Debug/bin/Kotatogram"
if test -f "$filePath"; then if test -f "$filePath"; then
echo "Build successfully done! :)" echo "Build successfully done! :)"
@ -492,10 +492,10 @@ jobs:
run: | run: |
cd $REPO_NAME/out/Debug/bin cd $REPO_NAME/out/Debug/bin
mkdir artifact mkdir artifact
mv Telegram artifact/ mv Kotatogram artifact/
- uses: actions/upload-artifact@master - uses: actions/upload-artifact@master
if: env.UPLOAD_ARTIFACT == 'true' if: env.UPLOAD_ARTIFACT == 'true'
name: Upload artifact. name: Upload artifact.
with: with:
name: Telegram name: Kotatogram
path: ${{ env.REPO_NAME }}/out/Debug/bin/artifact/ path: ${{ env.REPO_NAME }}/out/Debug/bin/artifact/

View file

@ -423,7 +423,7 @@ jobs:
make clean make clean
cp -r $QT_PREFIX $LibrariesPath/qt-cache cp -r $QT_PREFIX $LibrariesPath/qt-cache
- name: Telegram Desktop build. - name: Kotatogram Desktop build.
if: env.ONLY_CACHE == 'false' if: env.ONLY_CACHE == 'false'
run: | run: |
cd $REPO_NAME/Telegram cd $REPO_NAME/Telegram
@ -446,11 +446,11 @@ jobs:
run: | run: |
cd $REPO_NAME/out/Debug cd $REPO_NAME/out/Debug
mkdir artifact mkdir artifact
mv Telegram.app artifact/ mv Kotatogram.app artifact/
mv Updater artifact/ mv Updater artifact/
- uses: actions/upload-artifact@master - uses: actions/upload-artifact@master
if: env.UPLOAD_ARTIFACT == 'true' if: env.UPLOAD_ARTIFACT == 'true'
name: Upload artifact. name: Upload artifact.
with: with:
name: Telegram name: Kotatogram
path: ${{ env.REPO_NAME }}/out/Debug/artifact/ path: ${{ env.REPO_NAME }}/out/Debug/artifact/

View file

@ -326,7 +326,7 @@ jobs:
fi fi
echo "::set-env name=TDESKTOP_BUILD_DEFINE::$DEFINE" echo "::set-env name=TDESKTOP_BUILD_DEFINE::$DEFINE"
- name: Telegram Desktop build. - name: Kotatogram Desktop build.
if: env.ONLY_CACHE == 'false' if: env.ONLY_CACHE == 'false'
shell: cmd shell: cmd
run: | run: |
@ -347,11 +347,11 @@ jobs:
run: | run: |
cd %REPO_NAME%\out\Debug cd %REPO_NAME%\out\Debug
mkdir artifact mkdir artifact
move Telegram.exe artifact/ move Kotatogram.exe artifact/
move Updater.exe artifact/ move Updater.exe artifact/
- uses: actions/upload-artifact@master - uses: actions/upload-artifact@master
name: Upload artifact. name: Upload artifact.
if: env.UPLOAD_ARTIFACT == 'true' if: env.UPLOAD_ARTIFACT == 'true'
with: with:
name: Telegram name: Kotatogram
path: ${{ env.REPO_NAME }}\out\Debug\artifact\ path: ${{ env.REPO_NAME }}\out\Debug\artifact\