diff --git a/.github/workflows/build_release_bins.yml b/.github/workflows/build_release_bins.yml index a44b141..a367cfd 100644 --- a/.github/workflows/build_release_bins.yml +++ b/.github/workflows/build_release_bins.yml @@ -95,10 +95,16 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: semantic-release - #uses: ncipollo/release-action@v1 - #if: startsWith(github.ref, 'refs/tags/') - #with: - # artifacts: release/*/*.bin - # generateReleaseNotes: true - # allowUpdates: true - # token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + 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: | + build + release-openiris \ No newline at end of file diff --git a/ESP/tools/customname.py b/ESP/tools/customname.py index 0f5239f..221126f 100644 --- a/ESP/tools/customname.py +++ b/ESP/tools/customname.py @@ -20,7 +20,7 @@ for x in my_flags.get("CPPDEFINES"): else: defines[x] = "" # empty value #print("Warning: unknown type for %s" % x) -# defines.get("PIO_SRC_TAG") - tag name + # strip quotes needed for shell escaping s = lambda x: x.replace('"', "")