[skip ci] Skip post to telegram when creating tag (#2331)

This commit is contained in:
Howard Wu 2023-01-15 23:42:18 +08:00 committed by GitHub
parent 1ee8fd8647
commit 2af164b3e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ jobs:
daemon/build/symbols daemon/build/symbols
dex2oat/build/symbols dex2oat/build/symbols
- name: Post to channel - name: Post to channel
if: ${{ success() && ( ( github.event_name != 'pull_request' && github.ref == 'refs/heads/master' ) || github.ref_type == 'tag' ) }} if: ${{ success() && github.event_name != 'pull_request' && github.ref == 'refs/heads/master' && github.ref_type != 'tag' }}
env: env:
CHANNEL_ID: ${{ secrets.CHANNEL_ID }} CHANNEL_ID: ${{ secrets.CHANNEL_ID }}
DISCUSSION_ID: ${{ secrets.DISCUSSION_ID }} DISCUSSION_ID: ${{ secrets.DISCUSSION_ID }}