mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
ci(ci-actions): add autoamated cleanup stage
This commit is contained in:
parent
40d102d3d0
commit
3d243febe6
20
.github/workflows/build_release_bins.yml
vendored
20
.github/workflows/build_release_bins.yml
vendored
@ -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 }}
|
||||
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
|
||||
@ -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('"', "")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user