Skip to content

Commit

Permalink
Fix build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TaYaKi71751 committed Dec 30, 2023
1 parent e3c323c commit 59aec8a
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@ jobs:
- name: Preprocess
run: |
cd lib/server
wget -q ${{ secrets.SECRET_SALT }}
wget -q ${{ secrets.SECRET_WSALT }}
wget -q ${{ secrets.SECRET_SALT }} || bash << EOF
echo DO NOT USE SECRET
echo 'String getValid(String vToken) { return vToken; }' > salt.dart
EOF
wget -q ${{ secrets.SECRET_WSALT }} || bash << EOF
echo DO NOT USE SECRET
echo 'String getValid(String vToken) { return vToken; }' > wsalt.dart
EOF
cd ../..
python3 preprocess-ios.py
- name: Podfile
Expand Down Expand Up @@ -69,8 +75,14 @@ jobs:
- name: Preprocess
run: |
cd lib/server
wget -q ${{ secrets.SECRET_SALT }}
wget -q ${{ secrets.SECRET_WSALT }}
wget -q ${{ secrets.SECRET_SALT }} || bash << EOF
echo DO NOT USE SECRET
echo 'String getValid(String vToken) { return vToken; }' > salt.dart
EOF
wget -q ${{ secrets.SECRET_WSALT }} || bash << EOF
echo DO NOT USE SECRET
echo 'String getValid(String vToken) { return vToken; }' > wsalt.dart
EOF
cd ../..
python3 preprocess-android.py
- name: Build
Expand Down

0 comments on commit 59aec8a

Please sign in to comment.