Skip to content

Commit

Permalink
Update cmake-multi-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ld3 authored Sep 28, 2024
1 parent 9553b6e commit f8a5412
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,7 @@ jobs:
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }} \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DCMAKE_PREFIX_PATH=/usr/lib/qt6 \
-S ${{ github.workspace }}
- name: Check Deployment Script
if: runner.os == 'Windows'
run: ls -R D:/a/dartomato/dartomato/build/.qt
-S ${{ github.workspace }}
- name: Build
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}
Expand All @@ -103,6 +99,12 @@ jobs:
- name: Install Build Output
run: cmake --install ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --strip

- name: Get Tag Name
run: |
TAG_NAME=${GITHUB_REF#refs/tags/}
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV # Set TAG_NAME in GITHUB_ENV
shell: bash

- name: Compress Build Output
if: startsWith(github.ref, 'refs/tags/')
run: |
Expand Down Expand Up @@ -135,13 +137,10 @@ jobs:
fetch-tags: true

- name: Get Tag Name
id: get_tag
run: |
TAG_NAME=$(git describe --tags --abbrev=0)
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV
- name: Debug Tag
run: echo "Using tag $TAG_NAME"
TAG_NAME=${GITHUB_REF#refs/tags/}
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV # Set TAG_NAME in GITHUB_ENV
shell: bash

- name: Download Linux Artifacts
uses: actions/download-artifact@v4
Expand Down

0 comments on commit f8a5412

Please sign in to comment.