Open
Description
I keep getting this error that my git tag has not been set, tried multiple ways to do that from the command line and from bash inside of the action. Could not get promising results hence this issue.
Here is my main.yaml
name: Fast Builds
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- run: flutter doctor
- run: flutter pub get
- run: flutter build apk
- name: Display the path
run: |
echo ${PATH}
git tag 0.0.1
echo "wow"
shell: bash
# -name: Debug Info
# shell: bash
# run: |
# GITHUB_TAG = "0.0.1"
# git tag ${GITHUB_TAG}
# echo "Release Tag : ${GITHUB_TAG}"
- name: Release To Git
uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
with:
body: "A new release"
files: build/app/outputs/apk/release/app-release.apk
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Metadata
Assignees
Labels
No labels