Temporary GitHub action change

This commit is contained in:
Imran
2024-01-14 01:26:17 -05:00
committed by GitHub
parent bfc506e450
commit 0bf096abb5

View File

@ -6,8 +6,6 @@ on:
beta: beta:
type: boolean type: boolean
description: Is beta? description: Is beta?
environment:
type: environment
jobs: jobs:
build: build:
@ -61,18 +59,18 @@ jobs:
if [ $BETA == true ]; then TAG="$TAG"-beta; fi if [ $BETA == true ]; then TAG="$TAG"-beta; fi
echo "tag=$TAG" >> $GITHUB_OUTPUT echo "tag=$TAG" >> $GITHUB_OUTPUT
- name: Create Tag # - name: Create Tag
uses: mathieudutour/github-tag-action@v6.1 # uses: mathieudutour/github-tag-action@v6.1
with: # with:
github_token: ${{ secrets.GH_ACCESS_TOKEN }} # github_token: ${{ secrets.GH_ACCESS_TOKEN }}
custom_tag: "${{ steps.extract_version.outputs.tag }}" # custom_tag: "${{ steps.extract_version.outputs.tag }}"
tag_prefix: "" # tag_prefix: ""
- name: Create Release And Upload APKs # - name: Create Release And Upload APKs
uses: ncipollo/release-action@v1 # uses: ncipollo/release-action@v1
with: # with:
token: ${{ secrets.GH_ACCESS_TOKEN }} # token: ${{ secrets.GH_ACCESS_TOKEN }}
tag: "${{ steps.extract_version.outputs.tag }}" # tag: "${{ steps.extract_version.outputs.tag }}"
prerelease: "${{ steps.extract_version.outputs.beta }}" # prerelease: "${{ steps.extract_version.outputs.beta }}"
artifacts: ./build/app/outputs/flutter-apk/*-release*.apk* artifacts: ./build/app/outputs/flutter-apk/*-release*.apk*
generateReleaseNotes: true generateReleaseNotes: true