Skip to content

Commit

Permalink
Update win.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xmdnx authored Oct 24, 2023
1 parent 3ebaca4 commit 2b8cd92
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2b8cd92

Please sign in to comment.