diff --git a/.github/workflows/transloaditkit-ci.yml b/.github/workflows/transloaditkit-ci.yml index c967fe8..fd22bec 100644 --- a/.github/workflows/transloaditkit-ci.yml +++ b/.github/workflows/transloaditkit-ci.yml @@ -1,19 +1,21 @@ name: CI -on: [push] +on: [push, workflow_dispatch] jobs: build: name: Swift ${{ matrix.swift }} on ${{ matrix.os }} strategy: matrix: os: ["macos-latest"] - swift: ["5.5"] + swift: ["5.10"] runs-on: ${{ matrix.os }} steps: - name: Extract Branch Name run: echo "BRANCH=$(echo ${GITHUB_REF##*/})" >> $GITHUB_ENV - - uses: fwal/setup-swift@v1 + - uses: swift-actions/setup-swift@v2 with: swift-version: ${{ matrix.swift }} + - name: Get swift version + run: swift --version - uses: actions/checkout@v2 - name: Build run: swift build