diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml index 5ecdaf6f920f7..fe2f6b0ef1c02 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.