All Projects → slashmo → install-swift

slashmo / install-swift

Licence: other
GitHub Action to install a version of Swift 🏎

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to install-swift

update-container-description-action
github action to update a Docker Hub, Quay or Harbor repository description from a README file
Stars: ✭ 20 (-13.04%)
Mutual labels:  ci, github-actions
setup-scheme
Github Actions CI / CD setup for Scheme
Stars: ✭ 13 (-43.48%)
Mutual labels:  ci, github-actions
actions
A Collection of GitHub Actions
Stars: ✭ 91 (+295.65%)
Mutual labels:  ci, github-actions
changed-files
Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.
Stars: ✭ 733 (+3086.96%)
Mutual labels:  ci, github-actions
AndroidFastlaneCICD
📱A sample repository to demonstrate the Automate publishing🚀 app to the Google Play Store with GitHub Actions⚡+ Fastlane🏃.
Stars: ✭ 82 (+256.52%)
Mutual labels:  ci, github-actions
iOSDC2020-Talk-Sample
iOSDC 2020「GitHub ActionsでiOSアプリをCIする個人的ベストプラクティス」レギュラートークのサンプルリポジトリ
Stars: ✭ 35 (+52.17%)
Mutual labels:  ci, github-actions
wordpress-skeleton
A base repository structure for rtCamp's WordPress sites, pre-configured to use Github Actions
Stars: ✭ 32 (+39.13%)
Mutual labels:  ci, github-actions
Android-CICD
This repo demonstrates how to work on CI/CD for Mobile Apps 📱 using Github Actions 💊 + Firebase Distribution 🎉
Stars: ✭ 37 (+60.87%)
Mutual labels:  ci, github-actions
prettier
🔨 Native, blazingly-fast Prettier CLI on Github Actions
Stars: ✭ 19 (-17.39%)
Mutual labels:  ci, github-actions
branch-protection-bot
A bot tool to disable and re-enable "Include administrators" option in branch protection
Stars: ✭ 57 (+147.83%)
Mutual labels:  ci, github-actions
Act
Run your GitHub Actions locally 🚀
Stars: ✭ 19,915 (+86486.96%)
Mutual labels:  ci, github-actions
action-junit-report
Reports junit test results as GitHub Pull Request Check
Stars: ✭ 103 (+347.83%)
Mutual labels:  ci, github-actions
Cml
♾️ CML - Continuous Machine Learning | CI/CD for ML
Stars: ✭ 2,843 (+12260.87%)
Mutual labels:  ci, github-actions
setup-graalvm
No description or website provided.
Stars: ✭ 63 (+173.91%)
Mutual labels:  ci, github-actions
CI-Utils
Utilities for running Common Lisp on CI platforms
Stars: ✭ 18 (-21.74%)
Mutual labels:  ci, github-actions
mylib
Шаблон кросплатформенного CMake-проекта для языка C++ 🇬🇧 Modern CMake crossplatform project template for C++
Stars: ✭ 49 (+113.04%)
Mutual labels:  ci, github-actions
github-act-runner
act as self-hosted runner
Stars: ✭ 68 (+195.65%)
Mutual labels:  ci, github-actions
setup-gleam
👷‍♀️ Gleam on GitHub Actions
Stars: ✭ 16 (-30.43%)
Mutual labels:  ci, github-actions
bx-github-ci
This tutorial provides one example on how a CI (Continuous Integration) workflow with the IAR Build Tools for Linux can be set up on GitHub. The IAR Build Tools on Linux are available for Arm, RISC-V and Renesas (RH850, RL78 and RX).
Stars: ✭ 20 (-13.04%)
Mutual labels:  ci, github-actions
xray-action
... a GitHub action to import test results into "Xray" - A complete Test Management tool for Jira.
Stars: ✭ 16 (-30.43%)
Mutual labels:  ci, github-actions

install-swift

This action allows installing Swift toolchains, with support for both release and development versions.

Usage

Inputs

  • version - The Swift version you want to install. This may either be a release version like 5.5, a trunk development snapshot like swift-DEVELOPMENT-SNAPSHOT-2021-11-12-a, or a snapshot of the upcoming release, e.g. swift-5.6-DEVELOPMENT-SNAPSHOT-2022-01-09-a.

Example

- name: Install Swift
  uses: slashmo/[email protected]
  with:
    version: 5.5

After adding this step, all following steps in this job will automatically use the newly installed Swift version:

- name: Run Tests
  run: swift test # <-- uses Swift 5.5

Multiple Swift Versions

In case you want to run your GitHub Actions workflow using different versions of Swift, define a GitHub Action's matrix to spawn multiple instances of the same job:

jobs:
  test:
    name: Run Tests
    strategy:
      matrix:
        swift: [5.5, swift-DEVELOPMENT-SNAPSHOT-2021-11-12-a, swift-5.6-DEVELOPMENT-SNAPSHOT-2022-01-09-a]
        os: [ubuntu-18.04, ubuntu-20.04, macos-latest]
        fail-fast: false
    runs-on: ${{ matrix.os }}
    steps:
    - name: Install Swift
      uses: slashmo/[email protected]
      with:
        version: ${{ matrix.swift }}
    - name: Checkout
      uses: actions/checkout@v2
    - name: Run Tests
      run: swift test

The action will automatically detect the Ubuntu version and install the correct toolchain.

Caching

install-swift automatically caches toolchains based on the version input and the detected Ubuntu version.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].