Skip to content

Commit

Permalink
workaround github action for annotated tag
Browse files Browse the repository at this point in the history
see detail: actions/checkout#290

Signed-off-by: Frank Li <Frank.Li@nxp.com>
  • Loading branch information
nxpfrankli committed Jun 13, 2023
1 parent 0f8362f commit c66737a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:

- name: Build
run: |
git fetch --tags --force # Retrieve annotated tags. #issue 290
mkdir build
cd build
cmake ..
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/macOS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/win.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c66737a

Please sign in to comment.