Skip to content

Releases: cross-platform-actions/action

Cross Platform Action 1.3.0

Choose a tag to compare

@github-actions github-actions released this 22 Jun 20:06
Immutable release. Only release title and notes can be modified.

Added

  • Add support for FreeBSD 15.1 (#153)

  • Add a --environment-variables post-flag to the cpa.sh custom shell for
    forwarding additional environment variables to the VM on a per-step basis,
    without having to declare them on the Start VM step via the
    environment_variables input
    (#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

Choose a tag to compare

@github-actions github-actions released this 30 May 12:43
Immutable release. Only release title and notes can be modified.

Added

  • Add support for OpenBSD 7.9 (#144)

Changed

  • Updated QEMU to 10.2.3

Security

  • Bump resources to a release that use immutable releases, providing
    integrity verification for downloaded artifacts
    (#147)

Cross Platform Action 1.1.0

Choose a tag to compare

@github-actions github-actions released this 17 May 13:09
Immutable release. Only release title and notes can be modified.

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 DIRECTION after the file argument to change this
    (both (default), none (skip sync), runner-to-vm, or
    vm-to-runner), or use cpa.sh --sync-files standalone 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 --reboot issues 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 run input 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_vm input parameter has been deprecated and will be removed
    in a future release. There is no replacement. When unset, it now defaults
    to true if the run parameter is provided (preserving the legacy
    behavior) and false otherwise (so the VM stays alive across subsequent
    custom-shell steps without needing to specify it).

Cross Platform Action 1.0.0

Choose a tag to compare

@github-actions github-actions released this 12 Apr 07:30
Immutable release. Only release title and notes can be modified.

Fixed

  • Fix #108: Fix file ownership on Haiku after rsync, resolving git
    safe.directory errors

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 hypervisor input
    parameter. QEMU is now the only supported hypervisor. These were deprecated
    in v0.25.0.

Cross Platform Action 0.32.0

Choose a tag to compare

@github-actions github-actions released this 21 Dec 09:01
Immutable release. Only release title and notes can be modified.

Added

  • Add support for OmniOS

Cross Platform Action 0.31.0

Choose a tag to compare

@jacob-carlborg jacob-carlborg released this 15 Dec 20:03
Immutable release. Only release title and notes can be modified.

Added

  • Add support for FreeBSD 15.0 (#114)

Fixed

  • Fix empty hostname (#113)

Changed

  • Releases are now immutable (#117)

Cross Platform Action 0.30.0

Choose a tag to compare

@jacob-carlborg jacob-carlborg released this 08 Nov 12:55

Added

  • Document how to report a security vulnerability
  • Add support for OpenBSD 7.8 (#112)

Security

Cross Platform Action 0.29.0

Choose a tag to compare

@github-actions github-actions released this 22 Jul 13:37

Added

Fixed

  • Fix file sync on Haiku (#104)

Cross Platform Action 0.28.0

Choose a tag to compare

@github-actions github-actions released this 19 May 15:14

Added

Cross Platform Action 0.27.0

Choose a tag to compare

@github-actions github-actions released this 22 Jan 08:37

Added

  • Add support for NetBSD 10.1 (#95)