Update uploadBuildOnTag.yaml

This commit is contained in:
Yogesh Choudhary Paliyal
2024-09-17 20:38:09 +05:30
committed by GitHub
parent 722d2fcd71
commit 7f8805a761

View File

@@ -1,6 +1,9 @@
name: Upload build on release tag
on:
push:
tags:
- '*'
workflow_dispatch:
inputs:
tag:
@@ -15,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.tag }}
ref: ${{ inputs.tag || github.ref_name }}
- name: Setting up project
uses: ./.github/actions/setup
@@ -64,7 +67,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.apk-free-generate.outputs.apk-path }}
tag: ${{ inputs.tag }}
tag: ${{ inputs.tag || github.ref_name }}
overwrite: true
file_glob: true
@@ -86,6 +89,6 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.apk-pro-generate.outputs.apk-path }}
tag: ${{ inputs.tag }}
tag: ${{ inputs.tag || github.ref_name }}
overwrite: true
file_glob: true