Skip to content

Generated from https://github.com/vmactions/base-vm #198

Generated from https://github.com/vmactions/base-vm

Generated from https://github.com/vmactions/base-vm #198

Workflow file for this run

name: Test
on:
workflow_dispatch:
release:
types: [ published ]
push:
branches:
- '*'
paths:
- '**.sh'
- '.github/workflows/test.yml'
- 'index.js'
- 'conf/*'
- 'hooks/*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
testsshfs:
if: ${{ !contains(github.repository, 'solaris') && !contains(github.repository, 'dragonflybsd')}}
strategy:
matrix:
release: [ "12.3", "13.0", "13.1", "13.2", ""]
runs-on: ubuntu-22.04
name: A job to run test sshfs FreeBSD
env:
MYTOKEN : ${{ secrets.MYTOKEN }}
MYTOKEN2: "value2"
steps:
- uses: actions/checkout@v3
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@main
with:
envs: 'MYTOKEN MYTOKEN2'
prepare: |
pkg install -y curl
mem: 2048
copyback: false
release: ${{ matrix.release }}
nat: |
"8080": "80"
"8443": "443"
udp:"8081": "80"
usesh: true
sync: sshfs
run: |
tree .
tree /Users/runner/work/
test:
strategy:
matrix:
release: [ "12.3", "13.0", "13.1", "13.2", ""]
runs-on: ubuntu-22.04
name: A job to run test FreeBSD
env:
MYTOKEN : ${{ secrets.MYTOKEN }}
MYTOKEN2: "value2"
steps:
- uses: actions/checkout@v3
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@main
with:
envs: 'MYTOKEN MYTOKEN2'
prepare: |
pkg install -y curl
mem: 2048
copyback: false
release: ${{ matrix.release }}
nat: |
"8080": "80"
"8443": "443"
udp:"8081": "80"
usesh: true
run: |
pwd
ls -lah
whoami
env
freebsd-version