From 2b8cd926425bea68ffb502a588b59e90d118fce9 Mon Sep 17 00:00:00 2001 From: xmdn <72883689+xmdnx@users.noreply.github.com> Date: Tue, 24 Oct 2023 10:54:00 +0300 Subject: [PATCH] Update win.yml --- .github/workflows/win.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml index 5ecdaf6f920f79..fe2f6b0ef1c02d 100644 --- a/.github/workflows/win.yml +++ b/.github/workflows/win.yml @@ -128,13 +128,7 @@ jobs: echo "TDESKTOP_BUILD_DEFINE=$DEFINE" >> $GITHUB_ENV API="" - if [[ ${{ secrets.API_ID }} == "" ]]; then - echo "Use the open credentials." - API="-D TDESKTOP_API_ID=611335 -D TDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c" - else - echo "Use secret credentials" - API="-D TDESKTOP_API_ID=${{ secrets.API_ID }} -D TDESKTOP_API_HASH=${{ secrets.API_HASH }}" - fi + API="-D TDESKTOP_API_ID=${{ secrets.API_ID }} -D TDESKTOP_API_HASH=${{ secrets.API_HASH }}" echo "TDESKTOP_BUILD_API=$API" >> $GITHUB_ENV - name: Free up some disk space.