Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
Fix Windows versions to use local version of cc2538_bsl
  • Loading branch information
xyzroe authored Dec 17, 2023
1 parent 130e267 commit dbdce06
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
TARGET: windows64
arch: x64
CMD_BUILD: >
powershell Remove-Item -Path "cc2538_bsl.py" &&
powershell Copy-Item -Path "cc2538-bsl/cc2538-bsl.py" -Destination "cc2538_bsl.py" -Force &&
# powershell Remove-Item -Path "cc2538_bsl.py" &&
# powershell Copy-Item -Path "cc2538-bsl/cc2538-bsl.py" -Destination "cc2538_bsl.py" -Force &&
pyinstaller -F -w -n ZigStarGW-MT -i ui/images/zigstar_tr_gl.ico --version-file ui/file_version_info.txt ZigStarGW-MT.py &&
cd dist/ &&
powershell Compress-Archive ZigStarGW-MT.exe ZigStarGW-MT-x64.exe.zip
Expand All @@ -60,8 +60,8 @@ jobs:
TARGET: windows32
arch: x86
CMD_BUILD: >
powershell Remove-Item -Path "cc2538_bsl.py" &&
powershell Copy-Item -Path "cc2538-bsl/cc2538-bsl.py" -Destination "cc2538_bsl.py" -Force &&
# powershell Remove-Item -Path "cc2538_bsl.py" &&
# powershell Copy-Item -Path "cc2538-bsl/cc2538-bsl.py" -Destination "cc2538_bsl.py" -Force &&
pyinstaller -F -w -n ZigStarGW-MT -i ui/images/zigstar_tr_gl.ico --version-file ui/file_version_info.txt ZigStarGW-MT.py &&
cd dist/ &&
powershell Compress-Archive ZigStarGW-MT.exe ZigStarGW-MT-x86.exe.zip
Expand Down Expand Up @@ -110,4 +110,4 @@ jobs:
upload_url: ${{ steps.get_release_info.outputs.upload_url }}
asset_path: ./dist/${{ matrix.OUT_FILE_NAME}}
asset_name: ${{ matrix.OUT_FILE_NAME}}
asset_content_type: ${{ matrix.ASSET_MIME}}
asset_content_type: ${{ matrix.ASSET_MIME}}

0 comments on commit dbdce06

Please sign in to comment.