kopia lustrzana https://github.com/meshtastic/firmware
Syntax fix for github action (#4846)
https://docs.github.com/en/actions/sharing-automations/creating-actions/metadata-syntax-for-github-actions#runs-for-composite-actionspull/4848/head
rodzic
b4c09ace23
commit
682133501a
|
@ -40,7 +40,7 @@ runs:
|
|||
uses: ./.github/actions/setup-base
|
||||
|
||||
- name: Pull web ui
|
||||
if: ${{ inputs.include-web-ui == "true" }}
|
||||
if: inputs.include-web-ui == 'true'
|
||||
uses: dsaltares/fetch-gh-release-asset@master
|
||||
with:
|
||||
repo: meshtastic/web
|
||||
|
@ -49,7 +49,7 @@ runs:
|
|||
token: ${{ inputs.github_token }}
|
||||
|
||||
- name: Unpack web ui
|
||||
if: ${{ inputs.include-web-ui == "true" }}
|
||||
if: inputs.include-web-ui == 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
tar -xf build.tar -C data/static
|
||||
|
@ -57,7 +57,7 @@ runs:
|
|||
|
||||
- name: Remove debug flags for release
|
||||
shell: bash
|
||||
if: ${{ inputs.remove-debug-flags != "" }}
|
||||
if: inputs.remove-debug-flags != ''
|
||||
run: |
|
||||
for PATH in ${{ inputs.remove-debug-flags }}; do
|
||||
sed -i '/DDEBUG_HEAP/d' ${PATH}
|
||||
|
@ -68,7 +68,7 @@ runs:
|
|||
run: ${{ inputs.build-script-path }} ${{ inputs.board }}
|
||||
|
||||
- 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
|
||||
with:
|
||||
repo: meshtastic/firmware-ota
|
||||
|
|
Ładowanie…
Reference in New Issue