From f2c8cf37f9000fb80533338ef8d1783bb92262dd Mon Sep 17 00:00:00 2001 From: Iceflower Date: Tue, 12 Sep 2023 19:36:51 +0200 Subject: [PATCH] [ci] Fix pushed tag not available in release step --- .github/workflows/publish.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 094ffc2..01a66b1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -93,6 +93,11 @@ jobs: git tag ${{ matrix.config.id }}-${{steps.prepare-artifacts.outputs.version}} git push origin tag ${{ matrix.config.id }}-${{steps.prepare-artifacts.outputs.version}} + # wait 5s that the pushed tag is available in the next step, sometimes the next step saw only the local tag + - name: Wait 5s + run: sleep 5s + shell: bash + - name: Release addon if: ${{ steps.checkTag.outputs.exists == 'false' }} env: