Skip to content

Commit

Permalink
Only trigger when pushing a tags
Browse files Browse the repository at this point in the history
  • Loading branch information
arrazyfathan authored Jan 19, 2023
1 parent acc4550 commit e29d745
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ env:
on:
# Triggers the workflow on push or pull request events but only for default and protected branches
push:
branches: [ "main" ]
#branches: [ "main" ]
tags:
- "v*"
pull_request:
branches: [ "main" ]
- "*.*"
#pull_request:
#branches: [ "main" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: New Release ${{ github.ref }}
release_name: New Release v${{ github.ref }}
- name: Upload Release APK
id: upload_release_asset
uses: actions/upload-release-asset@v1.0.1
Expand Down

0 comments on commit e29d745

Please sign in to comment.