Skip to content

Commit

Permalink
Try vmactions
Browse files Browse the repository at this point in the history
  • Loading branch information
otiai10 committed Mar 10, 2024
1 parent 8277665 commit ab32134
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/runtime-vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
schedule:
- cron: '0 0 * * 5'
push:
branches: [main, develop, vagrant/*]
# branches: [main, develop, vagrant/*]
branches: [main, develop]
pull_request:
branches: [main, develop]

Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/runtime-vmactions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: VMActions

on:
push:
branches:
- vagrant/*

jobs:
test:
runs-on: ubuntu-latest
name: A job to run test in FreeBSD
# env:
# MYTOKEN : ${{ secrets.MYTOKEN }}
# MYTOKEN2: "value2"
steps:
- uses: actions/checkout@v4
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
with:
# envs: 'MYTOKEN MYTOKEN2'
usesh: true
prepare: |
pkg install -y curl
run: |
pwd
ls -lah
whoami
env
freebsd-version

0 comments on commit ab32134

Please sign in to comment.