Skip to content

Commit 94d5ddc

Browse files
committed
update ci
1 parent cc3bb80 commit 94d5ddc

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102

103103
release:
104104
name: Release
105-
if: ${{ github.ref == 'refs/heads/main' }}
105+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
106106
runs-on: ubuntu-latest
107107
needs: [build-windows, build-android]
108108
steps:
@@ -121,9 +121,6 @@ jobs:
121121
VERSION="${{ steps.yq.outputs.result }}"
122122
TAG_NAME="v${VERSION%%+*}"
123123
echo "TAG_NAME=$TAG_NAME" >> "$GITHUB_OUTPUT"
124-
echo "Creating new tag $TAG_NAME..."
125-
git tag "$TAG_NAME"
126-
git push origin "$TAG_NAME"
127124
- name: Eextract log
128125
run: python extract_log.py ${{ steps.create_tag.outputs.TAG_NAME }}
129126
- name: Download artifact

0 commit comments

Comments
 (0)