diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a51bb7d3..7bcd5440 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -32,6 +32,7 @@ jobs: - name: Build run: | + git fetch --tags --force # Retrieve annotated tags. #issue 290 mkdir build cd build cmake .. diff --git a/.github/workflows/macOS.yaml b/.github/workflows/macOS.yaml index df6fdc4d..c30aa717 100644 --- a/.github/workflows/macOS.yaml +++ b/.github/workflows/macOS.yaml @@ -26,7 +26,9 @@ jobs: run: brew install libusb pkg-config zstd - name: Build - run: export PATH="/usr/local/Cellar/pkg-config/0.29.2_3/bin:${PATH}"; pkg-config --list-all; cmake -DOPENSSL_ROOT_DIR=$(brew --prefix)/opt/openssl . ; make + run: | + git fetch --tags --force # Retrieve annotated tags. #issue 290 + export PATH="/usr/local/Cellar/pkg-config/0.29.2_3/bin:${PATH}"; pkg-config --list-all; cmake -DOPENSSL_ROOT_DIR=$(brew --prefix)/opt/openssl . ; make - name: Rename run: cp uuu/uuu uuu_mac diff --git a/.github/workflows/win.yaml b/.github/workflows/win.yaml index c459a982..28adfa5e 100644 --- a/.github/workflows/win.yaml +++ b/.github/workflows/win.yaml @@ -31,7 +31,9 @@ jobs: uses: microsoft/setup-msbuild@v1.1 - name: Build static solution - run: msbuild /p:Configuration=${{ matrix.configuration }} /p:PlatformToolset=v143 /p:Platform=${{ matrix.platform }} msvc/uuu-static-link.sln + run: | + git fetch --tags --force # Retrieve annotated tags. #issue 290 + msbuild /p:Configuration=${{ matrix.configuration }} /p:PlatformToolset=v143 /p:Platform=${{ matrix.platform }} msvc/uuu-static-link.sln - name: Upload Build Artifacts if: matrix.configuration == 'Release' && matrix.platform == 'x64'