Skip to content

4.2.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 19:30
· 8 commits to main since this release

Added

  • vapor-ci: a new workflow for Vapor servers. It builds and tests the
    package on Linux, in the swift image the server's Dockerfile builds in, and
    builds the Docker image without pushing it. swift-package-ci.yml stays the
    macOS build for packages.
  • fly-deploy: a new workflow that deploys a Fly app from the tip of the
    default branch with --build-arg GIT_SHA=<commit>, then waits until the
    health check answers with that commit. deploy-on: manual (the default)
    deploys only on workflow_dispatch; merge also deploys on each push to the
    default branch. It refuses a commit that is not the branch's tip. It needs the
    FLY_API_TOKEN secret, a deploy token for the app.
  • scripts/: the shell scripts that vapor-ci.yml and fly-deploy.yml
    run, in scripts/vapor/ and scripts/fly/. They have no dependency on
    GitHub Actions, so they also run locally or on a different CI provider. The
    workflows check them out at their own commit. make lint and the ci
    workflow shellcheck them, and a change to them needs a changelog entry, as a
    change to .github/ does.
  • ios-ci, vapor-ci, fly-deploy: an optional working-directory
    input, default ., for a repository that keeps each component in its own
    directory, such as ios/ and server/. Every step that runs in the
    repository runs there, and paths such as the IPA, the test report, the
    Dockerfile and fly.toml are relative to it. In ios-ci,
    ui-screenshots-path is relative to it too. The default keeps today's
    behaviour.