ci: Clean up .. before it's searched for artifacts
GitLab doesn't always clean up the `..` directory, leaving things that are lated picked up as artifacts. The new rule cleans up anything that looks like an artifact before fresh ones are generated.
This commit is contained in:
@ -45,6 +45,7 @@ build_deb:
|
|||||||
paths:
|
paths:
|
||||||
- "*.deb"
|
- "*.deb"
|
||||||
script:
|
script:
|
||||||
|
- rm -f ../*.deb
|
||||||
- apt-get -y build-dep .
|
- apt-get -y build-dep .
|
||||||
- apt-get -y install devscripts
|
- apt-get -y install devscripts
|
||||||
- debuild -i -us -uc -b
|
- debuild -i -us -uc -b
|
||||||
@ -59,6 +60,7 @@ build_deb:arm64:
|
|||||||
paths:
|
paths:
|
||||||
- "*.deb"
|
- "*.deb"
|
||||||
script:
|
script:
|
||||||
|
- rm -f ../*.deb
|
||||||
- apt-get -y build-dep .
|
- apt-get -y build-dep .
|
||||||
- apt-get -y install devscripts
|
- apt-get -y install devscripts
|
||||||
- debuild -i -us -uc -b
|
- debuild -i -us -uc -b
|
||||||
|
|||||||
Reference in New Issue
Block a user