File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -141,11 +141,11 @@ jobs:
141
141
- name : Setup Android NDK
142
142
id : setup-ndk
143
143
if : ${{ steps.cache-gocq-dist.outputs.cache-hit != 'true' }}
144
- uses : nttld/setup-ndk@v1
144
+ uses : nttld/setup-ndk@v1.4.2
145
145
with :
146
146
ndk-version : ${{ env.ANDROID_NDK_VERSION }}
147
147
link-to-sdk : true
148
- local-cache : true
148
+ local-cache : false
149
149
- name : Build Binary
150
150
if : ${{ steps.cache-gocq-dist.outputs.cache-hit != 'true' }}
151
151
working-directory : ./go-cqhttp
@@ -376,7 +376,7 @@ jobs:
376
376
with :
377
377
ndk-version : ${{ env.ANDROID_NDK_VERSION }}
378
378
link-to-sdk : true
379
- local-cache : true
379
+ local-cache : false
380
380
- name : Install Go
381
381
uses : actions/setup-go@v3
382
382
with :
@@ -414,7 +414,8 @@ jobs:
414
414
CGO_FLAGS : -Werror=unused-variable -Werror=implicit-function-declaration -O2
415
415
CUR_TIME : ${{ steps.current-time.outputs.formattedTime }}
416
416
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
+ go build -o "output/sealdice-core" -trimpath -ldflags "-s -w -X sealdice-core/dice.VERSION=$CUR_TIME($PROJECT_VERSION_S)" .
418
419
- name : Upload Core
419
420
uses : actions/upload-artifact@v3
420
421
with :
You can’t perform that action at this time.
0 commit comments