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