The setup-flyway
action will download and set up a requested version of the Flyway CLI.
version
- The version of Flyway CLI to set up. Can specifylatest
, an exact version, or a semver version. Default:latest
.architecture
- The hardware architecture version of the Flyway CLI. Can specifyx64
,arm64
, orjava
. The Java version will require Java 17 or higher to be installed, preferably usingactions/setup-java
. Default: the architecture of the runner.platform
- The operating system version of the Flyway CLI. Can specifylinux
,linux-alpine
,macos
, orwindows
. This setting is ignored whenjava
is selected for the architecture. Default: the platform of the runner.edition
- The edition of the Flyway CLI to set up. Can specifycommunity
orenterprise
. Default:community
.
Note
The Flyway CLI supports windows-x64
, linux-x64
, macosx-arm64
, macosx-x64
, and linux-alpine-x64
platforms.
For all other platforms, the Java version of the Flyway CLI should be used.
- uses: redgate/setup-flyway@v1
- uses: actions/setup-java@v4
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '21'
- uses: redgate/setup-flyway@v1
with:
architecture: 'java'
The version
input supports an exact version or a version range using SemVer notation:
- major versions:
9
,10
- more specific versions:
10.11
,10.12.0
,10.13.x
- the current version:
latest
The scripts and documentation in this project are released under the MIT License.
Contributions are welcome! See Contributor's Guide
Find a security issue? Please review our Security Policy.
For support, please see the Support Policy.