Skip to content

Commit

Permalink
Update PreRelease_task.yml
Browse files Browse the repository at this point in the history
add the fanatec bridge back
  • Loading branch information
tcfshcrw committed Nov 12, 2024
1 parent 9ae4706 commit a606814
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/PreRelease_task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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


Expand Down Expand Up @@ -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


########################################################################
Expand Down

0 comments on commit a606814

Please sign in to comment.