Skip to content

Commit c66737a

Browse files
committed
workaround github action for annotated tag
see detail: actions/checkout#290 Signed-off-by: Frank Li <Frank.Li@nxp.com>
1 parent 0f8362f commit c66737a

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232

3333
- name: Build
3434
run: |
35+
git fetch --tags --force # Retrieve annotated tags. #issue 290
3536
mkdir build
3637
cd build
3738
cmake ..

.github/workflows/macOS.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ jobs:
2626
run: brew install libusb pkg-config zstd
2727

2828
- name: Build
29-
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
29+
run: |
30+
git fetch --tags --force # Retrieve annotated tags. #issue 290
31+
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
3032
3133
- name: Rename
3234
run: cp uuu/uuu uuu_mac

.github/workflows/win.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ jobs:
3131
uses: microsoft/setup-msbuild@v1.1
3232

3333
- name: Build static solution
34-
run: msbuild /p:Configuration=${{ matrix.configuration }} /p:PlatformToolset=v143 /p:Platform=${{ matrix.platform }} msvc/uuu-static-link.sln
34+
run: |
35+
git fetch --tags --force # Retrieve annotated tags. #issue 290
36+
msbuild /p:Configuration=${{ matrix.configuration }} /p:PlatformToolset=v143 /p:Platform=${{ matrix.platform }} msvc/uuu-static-link.sln
3537
3638
- name: Upload Build Artifacts
3739
if: matrix.configuration == 'Release' && matrix.platform == 'x64'

0 commit comments

Comments
 (0)