Skip to content

Commit

Permalink
ci: run release ci only for pr for main
Browse files Browse the repository at this point in the history
  • Loading branch information
xianshenglu committed May 11, 2022
1 parent 8053502 commit e52faa5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/android_release.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Android Release ## name of the workflow

on:
push:
branches:
- main
pull_request:
types: [closed]

permissions:
contents: write

jobs:
android-release:
if: github.event.pull_request.merged == true || github.ref_name == 'main'
name: Android Release
runs-on: ubuntu-latest # using ubuntu latest version / or you can use a specific version

Expand Down

0 comments on commit e52faa5

Please sign in to comment.