Skip to content

Commit dc5696d

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/auto-build.yml

Lines changed: 2 additions & 1 deletion
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
@@ -155,6 +155,7 @@ jobs:
155155
CGO_ENABLE: 0
156156
CC: ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android33-clang
157157
run: |
158+
ls ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin
158159
export LD_FLAGS="-w -s -X github.com/Mrs4s/go-cqhttp/internal/base.Version=${COMMIT_ID::7}-sealdicefork"
159160
go build -o "output/go-cqhttp" -trimpath -ldflags "$LD_FLAGS" .
160161
- name: Upload Gocqhttp

0 commit comments

Comments
 (0)