mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
ci(ci-actions): fix cleanup step
This commit is contained in:
parent
0f6b299fc8
commit
5bf781548c
50
.github/workflows/build_release_bins.yml
vendored
50
.github/workflows/build_release_bins.yml
vendored
@ -68,21 +68,6 @@ jobs:
|
|||||||
path: "./ESP/.pio/build/${{ matrix.target_name }}${{ matrix.target_build_type }}/${{ env.FIRMWARE_NAME }}.bin"
|
path: "./ESP/.pio/build/${{ matrix.target_name }}${{ matrix.target_build_type }}/${{ env.FIRMWARE_NAME }}.bin"
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
release-openiris:
|
release-openiris:
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
target_name: [
|
|
||||||
esp32AIThinker,
|
|
||||||
esp32M5Stack,
|
|
||||||
esp32Cam,
|
|
||||||
esp_eye,
|
|
||||||
wrover,
|
|
||||||
]
|
|
||||||
target_build_type: [
|
|
||||||
"",
|
|
||||||
_release,
|
|
||||||
_OTA,
|
|
||||||
]
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build]
|
needs: [build]
|
||||||
steps:
|
steps:
|
||||||
@ -112,13 +97,28 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: semantic-release
|
run: semantic-release
|
||||||
cleanup:
|
cleanup:
|
||||||
name: Cleanup actions
|
strategy:
|
||||||
needs:
|
fail-fast: false
|
||||||
- release-openiris
|
matrix:
|
||||||
runs-on: ubuntu-latest
|
target_name: [
|
||||||
timeout-minutes: 10
|
esp32AIThinker,
|
||||||
steps:
|
esp32M5Stack,
|
||||||
- name: "♻️ remove build artifacts"
|
esp32Cam,
|
||||||
uses: geekyeggo/delete-artifact@v1
|
esp_eye,
|
||||||
with:
|
wrover,
|
||||||
name: ${{ matrix.target_name }}${{ matrix.target_build_type }}-firmware
|
]
|
||||||
|
target_build_type: [
|
||||||
|
"",
|
||||||
|
_release,
|
||||||
|
_OTA,
|
||||||
|
]
|
||||||
|
name: Cleanup actions
|
||||||
|
needs:
|
||||||
|
- release-openiris
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 10
|
||||||
|
steps:
|
||||||
|
- name: "♻️ remove build artifacts"
|
||||||
|
uses: geekyeggo/delete-artifact@v1
|
||||||
|
with:
|
||||||
|
name: ${{ matrix.target_name }}${{ matrix.target_build_type }}-firmware
|
||||||
Loading…
Reference in New Issue
Block a user