Skip to content

Commit

Permalink
update nightly-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xhd2015 committed May 24, 2024
1 parent ae27ae1 commit 07f2a9c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/nightly-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,15 @@ jobs:
- uses: actions/checkout@v4
with:
path: xgo
ref: fix-const-expr-type-recognition

- name: Switch To Master If From Nightly-Test
run: |
cd xgo
cur_branch=$(git branch --show-current)
if [[ $cur_branch = trigger-nightly-test ]];then
git fetch --depth origin master
git checkout master
fi
- name: Set up Go
uses: actions/setup-go@v4
Expand Down
4 changes: 2 additions & 2 deletions cmd/xgo/runtime_gen/core/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
)

const VERSION = "1.0.37"
const REVISION = "cf49f7ce9b237a85a242c245e9846294b3c8347b+1"
const NUMBER = 234
const REVISION = "ae27ae104ac2f782ec47dff97216958f65e5723a+1"
const NUMBER = 235

// these fields will be filled by compiler
const XGO_VERSION = ""
Expand Down
4 changes: 2 additions & 2 deletions cmd/xgo/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package main
import "fmt"

const VERSION = "1.0.37"
const REVISION = "cf49f7ce9b237a85a242c245e9846294b3c8347b+1"
const NUMBER = 234
const REVISION = "ae27ae104ac2f782ec47dff97216958f65e5723a+1"
const NUMBER = 235

func getRevision() string {
revSuffix := ""
Expand Down
4 changes: 2 additions & 2 deletions runtime/core/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
)

const VERSION = "1.0.37"
const REVISION = "cf49f7ce9b237a85a242c245e9846294b3c8347b+1"
const NUMBER = 234
const REVISION = "ae27ae104ac2f782ec47dff97216958f65e5723a+1"
const NUMBER = 235

// these fields will be filled by compiler
const XGO_VERSION = ""
Expand Down

0 comments on commit 07f2a9c

Please sign in to comment.