Tom Fifield 2024-09-24 14:49:01 +08:00 committed by GitHub
parent b4c09ace23
commit 682133501a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,7 +40,7 @@ runs:
uses: ./.github/actions/setup-base uses: ./.github/actions/setup-base
- name: Pull web ui - name: Pull web ui
if: ${{ inputs.include-web-ui == "true" }} if: inputs.include-web-ui == 'true'
uses: dsaltares/fetch-gh-release-asset@master uses: dsaltares/fetch-gh-release-asset@master
with: with:
repo: meshtastic/web repo: meshtastic/web
@ -49,7 +49,7 @@ runs:
token: ${{ inputs.github_token }} token: ${{ inputs.github_token }}
- name: Unpack web ui - name: Unpack web ui
if: ${{ inputs.include-web-ui == "true" }} if: inputs.include-web-ui == 'true'
shell: bash shell: bash
run: | run: |
tar -xf build.tar -C data/static tar -xf build.tar -C data/static
@ -57,7 +57,7 @@ runs:
- name: Remove debug flags for release - name: Remove debug flags for release
shell: bash shell: bash
if: ${{ inputs.remove-debug-flags != "" }} if: inputs.remove-debug-flags != ''
run: | run: |
for PATH in ${{ inputs.remove-debug-flags }}; do for PATH in ${{ inputs.remove-debug-flags }}; do
sed -i '/DDEBUG_HEAP/d' ${PATH} sed -i '/DDEBUG_HEAP/d' ${PATH}
@ -68,7 +68,7 @@ runs:
run: ${{ inputs.build-script-path }} ${{ inputs.board }} run: ${{ inputs.build-script-path }} ${{ inputs.board }}
- name: Pull OTA Firmware - name: Pull OTA Firmware
if: ${{ inputs.ota-firmware-source != "" && inputs.ota-firmware-target != "" }} if: inputs.ota-firmware-source != '' && inputs.ota-firmware-target != ''
uses: dsaltares/fetch-gh-release-asset@master uses: dsaltares/fetch-gh-release-asset@master
with: with:
repo: meshtastic/firmware-ota repo: meshtastic/firmware-ota