From 75cec57e9d7c33da139f7b46309dd621d9d40090 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Tue, 2 Mar 2021 15:41:47 +1100 Subject: [PATCH] Give GitHub some time to process the deletion of the release If we immediately chain the two actions, `create-release` only creates a draft for some reason. --- .github/workflows/latest-release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/latest-release.yml b/.github/workflows/latest-release.yml index f0ad21f6..6858a42d 100644 --- a/.github/workflows/latest-release.yml +++ b/.github/workflows/latest-release.yml @@ -18,6 +18,9 @@ jobs: release-name: latest token: ${{ secrets.BOTTY_GITHUB_TOKEN }} + - name: Give GitHub some time to process the deletion, otherwise our release shows up as draft. Sigh. + run: sleep 10 + - name: Create 'latest' release uses: actions/create-release@v1 env: