Skip to content

Commit 97facb7

Browse files
fy0Xiangze-Li
authored andcommitted
ci: try fix
1 parent 96e9b7d commit 97facb7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/auto-build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,11 @@ 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
148-
local-cache: true
148+
local-cache: false
149149
- name: Build Binary
150150
if: ${{ steps.cache-gocq-dist.outputs.cache-hit != 'true' }}
151151
working-directory: ./go-cqhttp
@@ -376,7 +376,7 @@ jobs:
376376
with:
377377
ndk-version: ${{ env.ANDROID_NDK_VERSION }}
378378
link-to-sdk: true
379-
local-cache: true
379+
local-cache: false
380380
- name: Install Go
381381
uses: actions/setup-go@v3
382382
with:
@@ -414,7 +414,8 @@ 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+
go build -o "output/sealdice-core" -trimpath -ldflags "-s -w -X sealdice-core/dice.VERSION=$CUR_TIME($PROJECT_VERSION_S)" .
418419
- name: Upload Core
419420
uses: actions/upload-artifact@v3
420421
with:

0 commit comments

Comments
 (0)