From 9f832d9f8aa88cfb2d1a465ba12afcba71e907dd Mon Sep 17 00:00:00 2001 From: Athanasios Lagopoulos Date: Thu, 25 Mar 2021 19:54:44 +0200 Subject: [PATCH] GH Action Tag Fix (#38) --- .github/workflows/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dc7651d..7ca5507 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,8 +13,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: Get Tag - id: vars - run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} + run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - uses: actions/setup-java@v1 with: java-version: '11.x' @@ -22,7 +21,7 @@ jobs: with: channel: 'stable' - run: flutter pub get - - run: flutter build apk --split-per-abi --build-name ${{ steps.vars.outputs.tag }} + - run: flutter build apk --split-per-abi --build-name $RELEASE_VERSION - name: Create a Release APK uses: ncipollo/release-action@v1 with: