Skip to content

Commit

Permalink
Use real API ID and hash in macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
EricKotato committed May 26, 2020
1 parent 100a863 commit d15284b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/mac-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ jobs:
OPENALDIR: /usr/local/opt/openal-soft
OPENSSL_ROOT_DIR: /usr/local/opt/openssl@1.1
Qt5_DIR: /usr/local/opt/qt/lib/cmake/Qt5
TDESKTOP_API_ID: ${{ secrets.TDESKTOP_TEST_API_ID }}
TDESKTOP_API_HASH: ${{ secrets.TDESKTOP_TEST_API_HASH }}
API_ID: ${{ secrets.API_ID }}
API_HASH: ${{ secrets.API_HASH }}
run: |
cd $REPO_NAME/Telegram
export PATH="/usr/local/opt/qt/bin:$PATH"
Expand All @@ -241,7 +241,8 @@ jobs:
./configure.sh \
-DCMAKE_FIND_FRAMEWORK=LAST \
-DCMAKE_LIBRARY_PATH=/usr/local/ffmpeg/lib \
-DTDESKTOP_API_TEST=ON \
-DTDESKTOP_API_ID=${API_ID} \
-DTDESKTOP_API_HASH=${API_HASH} \
-DDESKTOP_APP_DISABLE_AUTOUPDATE=${UPDDEFINE} \
-DKTGDESKTOP_ENABLE_PACKER=${PACKERDEFINE} \
-DDESKTOP_APP_USE_PACKAGED_LAZY=ON \
Expand Down

0 comments on commit d15284b

Please # to comment.