File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,11 +19,17 @@ jobs:
1919 steps :
2020 - uses : actions/checkout@v4
2121
22- - name : install vfox (MacOS)
23- if : runner.os == 'MacOS'
22+ - uses : actions/setup-go@v5
23+ with :
24+ go-version : ' ^1.24.2' # The Go version to download (if necessary) and use.
25+
26+ - name : build vfox (MacOS)
2427 run : |
25- brew tap version-fox/tap
26- brew install vfox@0.6.4
28+ git clone https://github.com/version-fox/vfox.git
29+ cd vfox
30+ go build -o vfox
31+ chmod +x vfox
32+ cp vfox /usr/local/bin
2733
2834 - name : add vfox-erlang plugin (Unix-like)
2935 run : |
Original file line number Diff line number Diff line change @@ -19,11 +19,17 @@ jobs:
1919 steps :
2020 - uses : actions/checkout@v4
2121
22- - name : install vfox (Linux)
22+ - uses : actions/setup-go@v5
23+ with :
24+ go-version : ' ^1.24.2' # The Go version to download (if necessary) and use.
25+
26+ - name : build vfox (Linux)
2327 run : |
24- echo "deb [trusted=yes] https://apt.fury.io/versionfox/ /" | sudo tee /etc/apt/sources.list.d/versionfox.list
25- sudo apt-get update
26- sudo apt-get install vfox=0.6.4
28+ git clone https://github.com/version-fox/vfox.git
29+ cd vfox
30+ go build -o vfox
31+ chmod +x vfox
32+ cp vfox /usr/local/bin
2733
2834 - name : add vfox-erlang plugin (Unix-like)
2935 run : |
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: E2E tests on Linux (Prebuilt release)
22
33on :
44 push :
5- branches : [main]
5+ # branches: [main]
66 pull_request :
77 workflow_dispatch :
88 schedule :
@@ -19,14 +19,21 @@ jobs:
1919 steps :
2020 - uses : actions/checkout@v4
2121
22- - name : install vfox (Linux)
22+ - uses : actions/setup-go@v5
23+ with :
24+ go-version : ' ^1.24.2' # The Go version to download (if necessary) and use.
25+
26+ - name : build vfox (Linux)
2327 run : |
24- echo "deb [trusted=yes] https://apt.fury.io/versionfox/ /" | sudo tee /etc/apt/sources.list.d/versionfox.list
25- sudo apt-get update
26- sudo apt-get install vfox=0.6.4
28+ git clone https://github.com/version-fox/vfox.git
29+ cd vfox
30+ go build -o vfox
31+ chmod +x vfox
32+ cp vfox /usr/local/bin
2733
2834 - name : add vfox-erlang plugin (Unix-like)
2935 run : |
36+ vfox -version
3037 vfox add --source https://github.com/version-fox/vfox-erlang/archive/${GITHUB_REF}.zip erlang
3138
3239 - name : prepare Erlang/OTP deps (Linux)
Original file line number Diff line number Diff line change @@ -19,14 +19,17 @@ jobs:
1919 steps :
2020 - uses : actions/checkout@v4
2121
22- - name : install scoop (Windows)
23- if : runner.os == 'Windows'
24- uses : MinoruSekine/setup-scoop@v3
22+ - uses : actions/setup-go@v5
23+ with :
24+ go-version : ' ^1.24.2 ' # The Go version to download (if necessary) and use.
2525
26- - name : install vfox (Windows)
27- if : runner.os == 'Windows'
26+ - name : build vfox (Windows)
2827 run : |
29- scoop install vfox@0.6.4
28+ git clone https://github.com/version-fox/vfox.git
29+ cd vfox
30+ go build -o vfox.exe
31+ echo "$pwd" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
32+ ./vfox.exe -version
3033
3134 - name : add vfox-erlang plugin (Windows)
3235 if : runner.os == 'Windows'
You can’t perform that action at this time.
0 commit comments