Skip to content

Commit

Permalink
1.0.0-alpha.1 + Go 1.17/Ubuntu 18.04 builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
retrixe committed Sep 20, 2021
1 parent 46f03d4 commit 445c178
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-16.04, macos-latest]
os: [ubuntu-18.04, macos-latest]
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Set up Go 1.16
- name: Set up Go 1.17
uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.17
id: go

- name: Check out code into the Go module directory
Expand All @@ -37,7 +37,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends libwebkit2gtk-4.0-dev
if: ${{ success() && matrix.os == 'ubuntu-16.04' }}
if: ${{ success() && matrix.os == 'ubuntu-18.04' }}

- name: Cache .yarn
uses: actions/cache@v2
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:

- name: Upload a Build Artifact (Linux)
uses: actions/[email protected]
if: ${{ success() && matrix.os == 'ubuntu-16.04' }}
if: ${{ success() && matrix.os == 'ubuntu-18.04' }}
with:
# Artifact name
name: writer-linux # optional, default is artifact
Expand Down
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ func ParseToJsString(s string) string {
// func SetFile(value string) {file = value;w.Eval("setFileReact(" + ParseToJsString(value) + ")")}

func main() {
if os.Args[1] == "-v" || os.Args[1] == "--version" {
println("writer version v1.0.0-alpha.1")
return
}
debug := true
w = webview.New(debug)
defer w.Destroy()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "writer",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.1",
"description": "The HTML/CSS/JS component of writer.",
"main": "src/index.js",
"repository": "https://github.com/retrixe/writer.git",
Expand Down

0 comments on commit 445c178

Please sign in to comment.