Skip to content

Commit

Permalink
[ci] Fix pushed tag not available in release step
Browse files Browse the repository at this point in the history
  • Loading branch information
IceflowRE committed Sep 12, 2023
1 parent f07f9dc commit f2c8cf3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f2c8cf3

Please sign in to comment.