Skip to content

Python scraper based on AI

fix(ci): clean stale dist artifacts before semantic-release publish

Marco Vinciguerrafe5b818cfe9f
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 125c557c..90fed15c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -81,6 +81,9 @@ jobs:
path: ./dist
key: ${{ runner.os }}-build-${{ github.sha }}
+ - name: Clean stale dist artifacts
+ run: rm -rf ./dist/* || true
+
- name: Semantic Release
uses: cycjimmy/[email protected]
with: