Compare commits
3
Commits
1.6.8
...
v2-final-1.6.8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a8df8dcce7 | ||
|
|
2bf8d3887e | ||
|
|
efe45f39e7 |
@@ -80,10 +80,27 @@ jobs:
|
|||||||
go-version: '1.25'
|
go-version: '1.25'
|
||||||
cache-dependency-path: go.sum
|
cache-dependency-path: go.sum
|
||||||
|
|
||||||
|
- name: Cache Go build cache
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
# setup-go only caches modules (GOMODCACHE). This caches compiled
|
||||||
|
# packages (GOCACHE) so the cgo/WebKit compile goes incremental.
|
||||||
|
# restore-keys gives a close cache instead of a cold one when
|
||||||
|
# go.sum changes. First run after adding this still compiles cold
|
||||||
|
# (it saves); the payoff shows from the second run on.
|
||||||
|
path: ~/.cache/go-build
|
||||||
|
key: go-build-1.25-${{ runner.os }}-${{ hashFiles('go.sum') }}
|
||||||
|
restore-keys: |
|
||||||
|
go-build-1.25-${{ runner.os }}-
|
||||||
|
|
||||||
- name: Set up Node
|
- name: Set up Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
# Caches npm's download cache keyed on the frontend lockfile, so
|
||||||
|
# the `npm install` inside `wails build` stops fetching cold.
|
||||||
|
cache: 'npm'
|
||||||
|
cache-dependency-path: frontend/package-lock.json
|
||||||
|
|
||||||
- name: Install Wails Linux build dependencies
|
- name: Install Wails Linux build dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -94,11 +111,23 @@ jobs:
|
|||||||
libgtk-3-dev libwebkit2gtk-4.1-dev \
|
libgtk-3-dev libwebkit2gtk-4.1-dev \
|
||||||
jq
|
jq
|
||||||
|
|
||||||
|
- name: Cache Wails CLI
|
||||||
|
uses: actions/cache@v4
|
||||||
|
id: wails-cli
|
||||||
|
with:
|
||||||
|
# The compiled CLI binary. Bump the key whenever the @version pin
|
||||||
|
# below changes, or the old CLI will be silently reused.
|
||||||
|
path: ~/go/bin/wails
|
||||||
|
key: wails-v2.15.0-${{ runner.os }}
|
||||||
|
|
||||||
- name: Install Wails CLI
|
- name: Install Wails CLI
|
||||||
|
if: steps.wails-cli.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
go install github.com/wailsapp/wails/v2/cmd/wails@v2.15.0
|
go install github.com/wailsapp/wails/v2/cmd/wails@v2.15.0
|
||||||
echo "${HOME}/go/bin" >> "${GITHUB_PATH}"
|
|
||||||
|
- name: Add Go bin to PATH
|
||||||
|
run: echo "${HOME}/go/bin" >> "${GITHUB_PATH}"
|
||||||
|
|
||||||
- name: Write environment.go from secrets
|
- name: Write environment.go from secrets
|
||||||
env:
|
env:
|
||||||
|
|||||||
+4
-1
@@ -23,10 +23,13 @@ go.work
|
|||||||
|
|
||||||
# ---> Wails
|
# ---> Wails
|
||||||
build/bin
|
build/bin
|
||||||
|
.task/
|
||||||
node_modules
|
node_modules
|
||||||
frontend/dist
|
frontend/dist
|
||||||
package.json.md5
|
package.json.md5
|
||||||
package-lock.json
|
# Root-level lockfile only: the frontend lockfile IS tracked so CI installs
|
||||||
|
# are reproducible and setup-node's npm cache has something to hash.
|
||||||
|
/package-lock.json
|
||||||
.idea
|
.idea
|
||||||
.env
|
.env
|
||||||
environment.go
|
environment.go
|
||||||
|
|||||||
Generated
+2717
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user