ci(ci-actions): fix cleanup step

This commit is contained in:
ZanzyTHEbar 2023-01-18 14:03:37 +00:00
parent 0f6b299fc8
commit 5bf781548c

View File

@ -68,21 +68,6 @@ jobs:
path: "./ESP/.pio/build/${{ matrix.target_name }}${{ matrix.target_build_type }}/${{ env.FIRMWARE_NAME }}.bin"
if-no-files-found: error
release-openiris:
strategy:
fail-fast: false
matrix:
target_name: [
esp32AIThinker,
esp32M5Stack,
esp32Cam,
esp_eye,
wrover,
]
target_build_type: [
"",
_release,
_OTA,
]
runs-on: ubuntu-latest
needs: [build]
steps:
@ -112,13 +97,28 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: semantic-release
cleanup:
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
strategy:
fail-fast: false
matrix:
target_name: [
esp32AIThinker,
esp32M5Stack,
esp32Cam,
esp_eye,
wrover,
]
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