swtich to deployment instead of tag #39
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: BSD-on-MAC | |
# controls when the action will run | |
on: [push, workflow_dispatch] | |
jobs: | |
test: | |
runs-on: macos-12 | |
name: MacOS and *BSD checks | |
#env: | |
# MYTOKEN : ${{ secrets.MYTOKEN }} | |
# MYTOKEN2: "value2" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: raw macos-12 | |
run: | | |
echo path = $path | |
echo PATH = $PATH | |
echo prepare ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
which perl | |
ls -l `which perl` | |
perl -V | |
curl -L https://cpanmin.us | perl - --sudo --verbose App::cpanminus | |
echo set ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
PATH=/usr/local/Cellar/perl/5.36.0/bin:$PATH | |
echo NEW PATH = $PATH | |
which perl | |
ls -latr /usr/local/bin/perl /usr/local/Cellar/perl/5.36.0/bin/ | |
echo version ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
cpanm --version | |
echo run ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
echo TODO... | |
- name: VM(FreeBSD) | |
uses: vmactions/freebsd-vm@v0 | |
with: | |
usesh: true | |
sync: rsync | |
copyback: false | |
prepare: | | |
pkg update -f | |
pkg install -y curl | |
#pkg search perl | |
pkg install -y perl5.36-5.36.0_2 | |
#pkg info -l perl5.36-5.36.0_2 | |
run: | | |
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ls -l /usr/local/bin/*5.36.0 | |
whoami | |
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
#perl -v | |
#curl -L https://cpanmin.us | perl - --sudo App::cpanminus | |
# - name: VM(OpenBSD) | |
# id: test | |
# uses: vmactions/openbsd-vm@v0 | |
# with: | |
# envs: 'MYTOKEN MYTOKEN2' | |
# usesh: true | |
# prepare: | | |
# pkg_add curl | |
# | |
# run: | | |
# | |
# pwd | |
# ls -lah | |
# whoami | |
# env | |
# perl -V | |
# #cpanm -V | |
# which cpanm |