Releases: cross-platform-actions/action
Release list
Cross Platform Action 1.3.0
Added
-
Add support for FreeBSD 15.1 (#153)
-
Add a
--environment-variablespost-flag to thecpa.shcustom shell for
forwarding additional environment variables to the VM on a per-step basis,
without having to declare them on theStart VMstep via the
environment_variablesinput
(#145):- name: Run a command with extra environment variables shell: cpa.sh {0} --environment-variables MY_ENV1 MY_ENV2 env: MY_ENV1: value1 MY_ENV2: value2 run: echo "$MY_ENV1 $MY_ENV2"
Cross Platform Action 1.2.0
Cross Platform Action 1.1.0
Added
-
Add support for DragonFly BSD (#19)
-
Add support for MidnightBSD (#102)
-
Add support for FreeBSD 14.4 (#122)
-
Add support for OmniOS r151058
-
New syntax for multiple steps (#83).
Instead of invoking the action multiple times it's now possible to use a
custom shell when running commands:jobs: custom-shell: runs-on: ubuntu-latest defaults: run: shell: cpa.sh {0} steps: - name: Start VM uses: cross-platform-actions/action@master with: operating_system: freebsd architecture: x86-64 version: '15.0' - name: Run command using custom shell run: '[ "`uname`" = FreeBSD ]'
Each custom-shell step automatically synchronizes files in both
directions: runner-to-vm before the step runs and vm-to-runner after.
Pass--sync-files DIRECTIONafter the file argument to change this
(both(default),none(skip sync),runner-to-vm, or
vm-to-runner), or usecpa.sh --sync-filesstandalone to sync on
demand without running a command:- name: Sync files from runner to VM run: cpa.sh --sync-files runner-to-vm
-
Reboot mode for rebooting the VM and waiting for it to come back up
(#103,
#118).
cpa.sh --rebootissues the reboot and blocks until the VM is reachable
again:- name: Reboot VM run: cpa.sh --reboot
Security
- Bump builders to releases that use immutable releases, providing
integrity verification for downloaded artifacts
(#140)
Deprecated
-
The
runinput parameter has been deprecated and is now optional. Use the
custom shell (shell: cpa.sh {0}) in subsequent steps to run commands in
the virtual machine instead. -
The
shutdown_vminput parameter has been deprecated and will be removed
in a future release. There is no replacement. When unset, it now defaults
totrueif therunparameter is provided (preserving the legacy
behavior) andfalseotherwise (so the VM stays alive across subsequent
custom-shell steps without needing to specify it).
Cross Platform Action 1.0.0
Fixed
- Fix #108: Fix file ownership on Haiku after rsync, resolving git
safe.directoryerrors
Changed
- Breaking: Update the requirement of Node for running this action from
version 20 to 24.
Removed
- Breaking: Remove support for running on macOS runners. Only Linux runners
(e.g.ubuntu-latest) are now supported. This was deprecated in v0.25.0. - Breaking: Remove the Xhyve hypervisor and the
hypervisorinput
parameter. QEMU is now the only supported hypervisor. These were deprecated
in v0.25.0.
Cross Platform Action 0.32.0
Added
- Add support for OmniOS
Cross Platform Action 0.31.0
Cross Platform Action 0.30.0
Added
- Document how to report a security vulnerability
- Add support for OpenBSD 7.8 (#112)
Security
- Fix potential code injection in the GitHub release workflow (#GHSA-928q-63gf-mc2x)
Cross Platform Action 0.29.0
Cross Platform Action 0.28.0
Added
- Add support for FreeBSD 13.5 (#99)
- Add support for OpenBSD 7.7 (openbsd-builder#21)
- Add support for Haiku (#30)
Cross Platform Action 0.27.0
Added
- Add support for NetBSD 10.1 (#95)