Skip to content

Commit

Permalink
Fix action not copy
Browse files Browse the repository at this point in the history
  • Loading branch information
dzungpv committed Oct 28, 2023
1 parent 6891eb6 commit 7f2a7de
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/platformio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,25 @@ jobs:
run: |
cd ${{ github.workspace }}/app
pio run -e ESP8266-ESP01
sudo mv ${{ github.workspace }}/app/.pio/build/ESP8266-ESP01/firmware.bin ${{ github.workspace }}/app/release/mitsubishi2MQTT_ESP8266-ESP01.bin
mv .pio/build/ESP8266-ESP01/firmware.bin mitsubishi2MQTT_ESP8266-ESP01.bin
- name: Build WEMOS_D1_Mini
run: |
cd ${{ github.workspace }}/app
pio run -e WEMOS_D1_Mini
sudo mv ${{ github.workspace }}/app/.pio/build/WEMOS_D1_Mini/firmware.bin ${{ github.workspace }}/app/release/mitsubishi2MQTT_WEMOS_D1_Mini.bin
mv .pio/build/WEMOS_D1_Mini/firmware.bin mitsubishi2MQTT_WEMOS_D1_Mini.bin
- name: Upload esp8266 artifacts
uses: actions/upload-artifact@v3
with:
name: mitsubishi2MQTT_ESP8266-ESP01.bin
path: ${{ github.workspace }}/app/release/mitsubishi2MQTT_ESP8266-ESP01.bin
path: ${{ github.workspace }}/app/mitsubishi2MQTT_ESP8266-ESP01.bin

- name: Upload WEMOS_D1_Mini artifacts
uses: actions/upload-artifact@v3
with:
name: mitsubishi2MQTT_WEMOS_D1_Mini.bin
path: ${{ github.workspace }}/app/release/mitsubishi2MQTT_WEMOS_D1_Mini.bin
path: ${{ github.workspace }}/app/mitsubishi2MQTT_WEMOS_D1_Mini.bin

- name: esp-idf build
uses: espressif/esp-idf-ci-action@v1
Expand All @@ -57,11 +57,11 @@ jobs:

- name: Rename IDF bin file
run: |
sudo mv ${{ github.workspace }}/app/build/mitsubishi2MQTT.bin ${{ github.workspace }}/app/release/mitsubishi2MQTT_ESP32DEV_IDF.bin
sudo mv ${{ github.workspace }}/app/build/mitsubishi2MQTT.bin ${{ github.workspace }}/app/build/mitsubishi2MQTT_ESP32DEV_IDF.bin
- name: Upload ESP32DEV_IDF artifacts
uses: actions/upload-artifact@v3
with:
name: mitsubishi2MQTT_ESP32DEV_IDF.bin
path: |
${{ github.workspace }}/app/release/mitsubishi2MQTT_ESP32DEV_IDF.bin
${{ github.workspace }}/app/build/mitsubishi2MQTT_ESP32DEV_IDF.bin

0 comments on commit 7f2a7de

Please sign in to comment.