From 388fc8b537d34de669e1f686c53c4b8c7a99e21a Mon Sep 17 00:00:00 2001 From: Demi Date: Sat, 24 Feb 2024 13:28:56 -0500 Subject: [PATCH] Moved tag request location. --- .github/workflows/earbug.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/earbug.yml b/.github/workflows/earbug.yml index 2c3f543..d5b5740 100644 --- a/.github/workflows/earbug.yml +++ b/.github/workflows/earbug.yml @@ -66,6 +66,13 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - name: Get Version Name + id: versionTag + run: | + LAST_TAGGED_COMMIT=$(git rev-list --tags --max-count=1) + TAG=$(git describe --tags $LAST_TAGGED_COMMIT) + echo "tag=$TAG" >> $GITHUB_OUTPUT + - name: Install Qt6 run: | sudo apt update @@ -122,13 +129,6 @@ jobs: # cd ./build/ # QT_QPA_PLATFORM=offscreen ctest -C release -VV - - name: Get Version Name - id: versionTag - run: | - LAST_TAGGED_COMMIT=$(git rev-list --tags --max-count=1) - TAG=$(git describe --tags $LAST_TAGGED_COMMIT) - echo "tag=$TAG" >> $GITHUB_OUTPUT - - name: Create release artifact if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')" uses: softprops/action-gh-release@v1