[add] Update V8Go repository in GitHub Actions workflows

This commit is contained in:
Max 2023-12-22 20:43:35 +08:00
parent f13b6ea582
commit a4a639568d
6 changed files with 13 additions and 6 deletions

View file

@ -75,7 +75,7 @@ jobs:
- name: Checkout V8Go
uses: actions/checkout@v3
with:
repository: rogchap/v8go
repository: yaoapp/v8go
# ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb
path: v8go

View file

@ -56,7 +56,7 @@ jobs:
- name: Checkout V8Go
uses: actions/checkout@v3
with:
repository: rogchap/v8go
repository: yaoapp/v8go
# ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb
path: v8go

View file

@ -150,7 +150,7 @@ jobs:
- name: Checkout V8Go
uses: actions/checkout@v3
with:
repository: rogchap/v8go
repository: yaoapp/v8go
# ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb
path: v8go

View file

@ -107,7 +107,7 @@ jobs:
- name: Checkout V8Go
uses: actions/checkout@v3
with:
repository: rogchap/v8go
repository: yaoapp/v8go
# ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb
path: v8go

4
.gitignore vendored
View file

@ -11,6 +11,8 @@
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
*.log
# Dependency directories (remove the comment below to include it)
# vendor/
.DS_Store
@ -35,4 +37,4 @@ xgen/v1.0/*
!xgen/v1.0/index.html
!xgen/v1.0/umi.js
!xgen/v1.0/layouts__index.async.js
*-unit-test
*-unit-test

View file

@ -102,7 +102,12 @@ func (r *Request) Render() (string, int, error) {
}
// Save to The Cache
c = core.SetCache(r.File, html, dataText, globalDataText)
// c = core.SetCache(r.File, html, dataText, globalDataText)
c = &core.Cache{
Data: dataText,
Global: globalDataText,
HTML: html,
}
log.Trace("The page %s is cached", r.File)
}