Skip to content

Commit 3c92631

Browse files
committed
ci: try fix
1 parent 2f91aa7 commit 3c92631

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/auto-build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
- name: Setup Android NDK
142142
id: setup-ndk
143143
if: ${{ steps.cache-gocq-dist.outputs.cache-hit != 'true' }}
144-
uses: nttld/setup-ndk@v1
144+
uses: nttld/setup-ndk@v1.4.2
145145
with:
146146
ndk-version: ${{ env.ANDROID_NDK_VERSION }}
147147
link-to-sdk: true
@@ -414,7 +414,12 @@ jobs:
414414
CGO_FLAGS: -Werror=unused-variable -Werror=implicit-function-declaration -O2
415415
CUR_TIME: ${{ steps.current-time.outputs.formattedTime }}
416416
working-directory: ./sealdice-core
417-
run: go build -o "output/sealdice-core" -trimpath -ldflags "-s -w -X sealdice-core/dice.VERSION=$CUR_TIME($PROJECT_VERSION_S)" .
417+
run: |
418+
ls ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
419+
file ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
420+
ls ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-14
421+
file ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin/clang-14
422+
go build -o "output/sealdice-core" -trimpath -ldflags "-s -w -X sealdice-core/dice.VERSION=$CUR_TIME($PROJECT_VERSION_S)" .
418423
- name: Upload Core
419424
uses: actions/upload-artifact@v3
420425
with:

0 commit comments

Comments
 (0)