Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb226103

Browse files
authored
fix: Build site in release process (#785)
The static site wasn't building prior, so authenticating via CLI was broken!
1 parent50f2fca commitb226103

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

‎.github/workflows/coder.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,17 @@ jobs:
323323
with:
324324
install-only:true
325325

326+
-name:Cache Node
327+
id:cache-node
328+
uses:actions/cache@v3
329+
with:
330+
path:|
331+
**/node_modules
332+
.eslintcache
333+
key:js-${{ runner.os }}-test-${{ hashFiles('**/yarn.lock') }}
334+
restore-keys:|
335+
js-${{ runner.os }}-
336+
326337
-name:Build Release
327338
run:make release
328339

‎.github/workflows/release.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,38 @@ jobs:
1414
with:
1515
go-version:"~1.18"
1616

17+
-name:Echo Go Cache Paths
18+
id:go-cache-paths
19+
run:|
20+
echo "::set-output name=go-build::$(go env GOCACHE)"
21+
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
22+
23+
-name:Go Build Cache
24+
uses:actions/cache@v3
25+
with:
26+
path:${{ steps.go-cache-paths.outputs.go-build }}
27+
key:${{ runner.os }}-release-go-build-${{ hashFiles('**/go.sum') }}
28+
29+
-name:Go Mod Cache
30+
uses:actions/cache@v3
31+
with:
32+
path:${{ steps.go-cache-paths.outputs.go-mod }}
33+
key:${{ runner.os }}-release-go-mod-${{ hashFiles('**/go.sum') }}
34+
35+
-name:Cache Node
36+
id:cache-node
37+
uses:actions/cache@v3
38+
with:
39+
path:|
40+
**/node_modules
41+
.eslintcache
42+
key:js-${{ runner.os }}-test-${{ hashFiles('**/yarn.lock') }}
43+
restore-keys:|
44+
js-${{ runner.os }}-
45+
46+
-name:Build Site
47+
run:make site/out
48+
1749
-name:Run GoReleaser
1850
uses:goreleaser/goreleaser-action@v2.9.1
1951
with:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp