Skip to content

Commit

Permalink
Fix aonly if judgment failed
Browse files Browse the repository at this point in the history
Signed-off-by: xiaoxindada <2245062854@qq.com>
  • Loading branch information
xiaoxindada committed Sep 13, 2021
1 parent b788fb9 commit 3fb49c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/SGSI_Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,20 @@ jobs:
echo "zip_file: $(ls "$GITHUB_WORKSPACE/SGSI-build-tool/tmp/")"
- name: Setup Tool Utils...
if: env.SETUP == 'true'
if: ${{ env.SETUP == 'true' }}
run: |
sudo sed -i 's/USE_MIRROR_FOR_PIP\=true/USE_MIRROR_FOR_PIP\=false/' $GITHUB_WORKSPACE/SGSI-build-tool/setup.sh
sudo bash $GITHUB_WORKSPACE/SGSI-build-tool/setup.sh
# sudo apt-get -y --purge remove "adoptopenjdk-11-hotspot"
java -version
- name: Building AB DEVICES SGSI...
if: ${{ github.event.inputs.BUILD_TYPE }} == 'AB' || ${{ github.event.inputs.BUILD_TYPE }} == 'ab'
if: ${{ github.event.inputs.BUILD_TYPE == 'AB' }} || ${{ github.event.inputs.BUILD_TYPE == 'ab' }}
run: |
sudo bash $GITHUB_WORKSPACE/SGSI-build-tool/make.sh --AB ${{ github.event.inputs.OS_TYPE }} ${{ github.event.inputs.FIRMWARE_NAME }} --fix-bug
- name: Building A-only DEVICES SGSI...
if: ${{ github.event.inputs.BUILD_TYPE }} == 'a-only'
if: ${{ github.event.inputs.BUILD_TYPE == 'aonly' }} || ${{ github.event.inputs.BUILD_TYPE == 'AONLY' }}
run: |
sudo bash $GITHUB_WORKSPACE/SGSI-build-tool/make.sh --a-only ${{ github.event.inputs.OS_TYPE }} ${{ github.event.inputs.FIRMWARE_NAME }} --fix-bug
Expand Down

0 comments on commit 3fb49c4

Please sign in to comment.