Skip to content

Commit

Permalink
Update check-installation.yml
Browse files Browse the repository at this point in the history
maybe streamlined getting the latest tag
attempt app start
  • Loading branch information
Mattk70 authored Nov 13, 2024
1 parent f8d07ba commit f4359f4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/check-installation.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f4359f4

Please sign in to comment.