From f4359f4decfeb6d3e0d3a20c63c6989226445616 Mon Sep 17 00:00:00 2001 From: Mattk70 <61826357+Mattk70@users.noreply.github.com> Date: Wed, 13 Nov 2024 19:18:04 +0000 Subject: [PATCH] Update check-installation.yml maybe streamlined getting the latest tag attempt app start --- .github/workflows/check-installation.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-installation.yml b/.github/workflows/check-installation.yml index e67fcc7..1d91707 100644 --- a/.github/workflows/check-installation.yml +++ b/.github/workflows/check-installation.yml @@ -1,5 +1,5 @@ name: Test Chirpity Compilation -run-name: ${{ github.actor }} is installing chirpity +run-name: ${{ github.actor }} is building chirpity on: [push, workflow_dispatch] jobs: Build-Chirpity: @@ -77,7 +77,8 @@ jobs: shell: bash # test application here - + - name: Fire up Application + run: npm run start # end test application # Fetch tags from origin @@ -89,8 +90,8 @@ jobs: id: get_latest_tag shell: bash run: | - latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) - echo "LATEST_TAG=$latest_tag" >> $GITHUB_ENV + LATEST_TAG=$(gh api repos/${{ github.repository }}/tags --jq '.[0].name') + echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV # Get the current pushed tag - name: Get the current pushed tag