[add] Update V8Go repository in GitHub Actions workflows
This commit is contained in:
parent
f13b6ea582
commit
a4a639568d
6 changed files with 13 additions and 6 deletions
2
.github/workflows/build-linux.yml
vendored
2
.github/workflows/build-linux.yml
vendored
|
|
@ -75,7 +75,7 @@ jobs:
|
||||||
- name: Checkout V8Go
|
- name: Checkout V8Go
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: rogchap/v8go
|
repository: yaoapp/v8go
|
||||||
# ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb
|
# ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb
|
||||||
path: v8go
|
path: v8go
|
||||||
|
|
||||||
|
|
|
||||||
2
.github/workflows/build-macos.yml
vendored
2
.github/workflows/build-macos.yml
vendored
|
|
@ -56,7 +56,7 @@ jobs:
|
||||||
- name: Checkout V8Go
|
- name: Checkout V8Go
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: rogchap/v8go
|
repository: yaoapp/v8go
|
||||||
# ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb
|
# ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb
|
||||||
path: v8go
|
path: v8go
|
||||||
|
|
||||||
|
|
|
||||||
2
.github/workflows/pr-test.yml
vendored
2
.github/workflows/pr-test.yml
vendored
|
|
@ -150,7 +150,7 @@ jobs:
|
||||||
- name: Checkout V8Go
|
- name: Checkout V8Go
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: rogchap/v8go
|
repository: yaoapp/v8go
|
||||||
# ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb
|
# ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb
|
||||||
path: v8go
|
path: v8go
|
||||||
|
|
||||||
|
|
|
||||||
2
.github/workflows/unit-test.yml
vendored
2
.github/workflows/unit-test.yml
vendored
|
|
@ -107,7 +107,7 @@ jobs:
|
||||||
- name: Checkout V8Go
|
- name: Checkout V8Go
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: rogchap/v8go
|
repository: yaoapp/v8go
|
||||||
# ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb
|
# ref: aac4923ed74083e58ae7b42b1acb0fa0d11a26cb
|
||||||
path: v8go
|
path: v8go
|
||||||
|
|
||||||
|
|
|
||||||
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -11,6 +11,8 @@
|
||||||
# Output of the go coverage tool, specifically when used with LiteIDE
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||||
*.out
|
*.out
|
||||||
|
|
||||||
|
*.log
|
||||||
|
|
||||||
# Dependency directories (remove the comment below to include it)
|
# Dependency directories (remove the comment below to include it)
|
||||||
# vendor/
|
# vendor/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
@ -35,4 +37,4 @@ xgen/v1.0/*
|
||||||
!xgen/v1.0/index.html
|
!xgen/v1.0/index.html
|
||||||
!xgen/v1.0/umi.js
|
!xgen/v1.0/umi.js
|
||||||
!xgen/v1.0/layouts__index.async.js
|
!xgen/v1.0/layouts__index.async.js
|
||||||
*-unit-test
|
*-unit-test
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,12 @@ func (r *Request) Render() (string, int, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save to The Cache
|
// 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)
|
log.Trace("The page %s is cached", r.File)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue