Skip to content

Commit

Permalink
Update to FreeBSD-13.0-RELEASE (#17)
Browse files Browse the repository at this point in the history
* Update to FreeBSD-13.0-RELEASE

* Update index.js

Co-authored-by: neil <[email protected]>
  • Loading branch information
ivan-volnov and Neilpang authored Apr 25, 2021
1 parent 457af73 commit 0a7ab23
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v2
- name: Test in FreeBSD
id: test
uses: vmactions/[email protected].2
uses: vmactions/[email protected].4
with:
envs: 'MYTOKEN MYTOKEN2'
usesh: true
Expand Down Expand Up @@ -72,13 +72,13 @@ The code is shared from the host to the FreeBSD VM via `rsync`, you can choose t
- uses: actions/checkout@v2
- name: Test in FreeBSD
id: test
uses: vmactions/[email protected].2
uses: vmactions/[email protected].4
with:
envs: 'MYTOKEN MYTOKEN2'
usesh: true
sync: sshfs
prepare: pkg install -y curl



...
Expand All @@ -94,7 +94,7 @@ You can add NAT port between the host and the VM.
- uses: actions/checkout@v2
- name: Test in FreeBSD
id: test
uses: vmactions/[email protected].2
uses: vmactions/[email protected].4
with:
envs: 'MYTOKEN MYTOKEN2'
usesh: true
Expand All @@ -114,7 +114,7 @@ The default memory of the VM is 1024MB, you can use `mem` option to set the memo
- uses: actions/checkout@v2
- name: Test in FreeBSD
id: test
uses: vmactions/[email protected].2
uses: vmactions/[email protected].4
with:
envs: 'MYTOKEN MYTOKEN2'
usesh: true
Expand All @@ -125,7 +125,7 @@ The default memory of the VM is 1024MB, you can use `mem` option to set the memo
# Under the hood
GitHub only supports Ubuntu, Windows and MacOS out of the box.
GitHub only supports Ubuntu, Windows and MacOS out of the box.
However, the MacOS support virtualization. It has VirtualBox installed.
Expand Down
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ async function setup(nat, mem) {

let workingDir = __dirname;

let url = "https://github.com/vmactions/freebsd-builder/releases/download/v0.0.8/freebsd-12.2.7z";
let url = "https://github.com/vmactions/freebsd-builder/releases/download/v0.0.9/freebsd-13.0.7z";

core.info("Downloading image: " + url);
let img = await tc.downloadTool(url);
core.info("Downloaded file: " + img);

let s7z = workingDir + "/freebsd-12.2.7z";
let s7z = workingDir + "/freebsd-13.0.7z";
await io.mv(img, s7z);
await exec.exec("7z e " + s7z + " -o" + workingDir);

Expand All @@ -106,7 +106,7 @@ async function setup(nat, mem) {
await exec.exec("chmod 700 " + sshHome);


let ova = "freebsd-12.2.ova";
let ova = "freebsd-13.0.ova";
await vboxmanage("", "import", path.join(workingDir, ova));


Expand Down

0 comments on commit 0a7ab23

Please sign in to comment.