From a60681420b4da5a755ab4237a46f7f4f1e587fce Mon Sep 17 00:00:00 2001 From: tcfshcrw <48719709+tcfshcrw@users.noreply.github.com> Date: Tue, 12 Nov 2024 13:08:31 +0800 Subject: [PATCH] Update PreRelease_task.yml add the fanatec bridge back --- .github/workflows/PreRelease_task.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/PreRelease_task.yml b/.github/workflows/PreRelease_task.yml index 323258fe..1a4901d5 100644 --- a/.github/workflows/PreRelease_task.yml +++ b/.github/workflows/PreRelease_task.yml @@ -151,6 +151,7 @@ jobs: pio system info pio run --environment esp32s3usbotg pio run --environment esp32 + pio run --environment esp32s3-Fanatec # copy files to dir - name: Copy files to packing dir run: | @@ -160,11 +161,15 @@ jobs: copy ${{ github.workspace }}/ESP32_master/.pio/build/esp32/firmware.bin ${{ github.workspace }}/Helper/bins/esp32_analogout_SC_D15 copy ${{ github.workspace }}/ESP32_master/.pio/build/esp32/bootloader.bin ${{ github.workspace }}/Helper/bins/esp32_analogout_SC_D15 copy ${{ github.workspace }}/ESP32_master/.pio/build/esp32/partitions.bin ${{ github.workspace }}/Helper/bins/esp32_analogout_SC_D15 + copy ${{ github.workspace }}/ESP32_master/.pio/build/esp32s3-Fanatec/firmware.bin ${{ github.workspace }}/Helper/bins/esp32s3_Bridge_Fanatec + copy ${{ github.workspace }}/ESP32_master/.pio/build/esp32s3-Fanatec/bootloader.bin ${{ github.workspace }}/Helper/bins/esp32s3_Bridge_Fanatec + copy ${{ github.workspace }}/ESP32_master/.pio/build/esp32s3-Fanatec/partitions.bin ${{ github.workspace }}/Helper/bins/esp32s3_Bridge_Fanatec # zip plugin binaries - name: ZIP files run: | 7z a ${{ github.workspace }}/Helper/zip/esp32s3_Bridge_With_Joy.zip ${{ github.workspace }}/Helper/bins/esp32s3_joystickreceiver/ 7z a ${{ github.workspace }}/Helper/zip/esp32_analogout_SC_D15.zip ${{ github.workspace }}/Helper/bins/esp32_analogout_SC_D15/ + 7z a ${{ github.workspace }}/Helper/zip/esp32s3_Bridge_Fanatec.zip ${{ github.workspace }}/Helper/bins/esp32s3_Bridge_Fanatec/ # Build ESP code for esp32_bridge @@ -241,6 +246,17 @@ jobs: asset_name: esp32_analogout_SC_D15.zip asset_content_type: application/zip + - name: Upload ESP release assets esp32s3 bridge FANATEC + id: upload-release-asset-esp32S3_Brdige_Fanatec + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + url: ${{needs.Build-date.outputs.Upload_URL}} + with: + upload_url: ${{ env.url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + asset_path: ./Helper/zip/esp32s3_Bridge_Fanatec.zip + asset_name: esp32s3_Bridge_Fanatec.zip + asset_content_type: application/zip ########################################################################