espressif / esp-idf-ci-action

GitHub Action for ESP32 CI
MIT License
67 stars 24 forks source link

add new parameter 'action' #15

Closed binary1230 closed 2 years ago

binary1230 commented 2 years ago

Example: Building custom flash images as part of Github actions

      - name: Create Final Merged Binary
        uses: espressif/esp-idf-ci-action
        with:
          esp_idf_version: v4.4
          path: './build/'

          # 'command' is the new thing this PR adds
          command: esptool.py --chip esp32 merge_bin --fill-flash-size 4MB -o ../your_custom_file.bin @flash_args

notes:

kumekay commented 2 years ago

@binary1230 Thank you so much for the contribution!

I would only suggest naming the new parameter command instead of action`

Also, it looks like this closes https://github.com/espressif/esp-idf-ci-action/issues/2 could you please add fixes #2 to the PR description?

binary1230 commented 2 years ago

changed and tested locally, works. should be good to go. thanks!

kumekay commented 2 years ago

@binary1230 Thank you for your contribution!