From 0ab25bc31fc3e3763b717dc43d0c6cd20b655c54 Mon Sep 17 00:00:00 2001 From: Sam Winebrake <85908068+samwinebrake@users.noreply.github.com> Date: Wed, 13 Nov 2024 13:53:15 -0500 Subject: [PATCH] add sleep and clean of previous builds --- .github/workflows/bump_version.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/bump_version.yml b/.github/workflows/bump_version.yml index 069d547ca..be59c9a56 100644 --- a/.github/workflows/bump_version.yml +++ b/.github/workflows/bump_version.yml @@ -198,9 +198,13 @@ jobs: id-token: write steps: + - name: Wait for Git operations to complete + run: sleep 30 + - uses: actions/checkout@v4 with: fetch-depth: 0 + ref: master - name: Set up Python uses: actions/setup-python@v4 @@ -211,6 +215,9 @@ jobs: run: | python -m pip install --upgrade pip pip install build twine + + - name: Clean previous builds + run: rm -rf dist/ build/ - name: Build package run: python -m build