Skip to content

Merge pull request #73 from amzn/decode_internal_server_errors #65

Merge pull request #73 from amzn/decode_internal_server_errors

Merge pull request #73 from amzn/decode_internal_server_errors #65

Workflow file for this run

name: build
on:
push:
branches: [ main, service-model-swift-code-generate-2.x, service-model-swift-code-generate-1.x ]
pull_request:
branches: [ main, service-model-swift-code-generate-2.x, service-model-swift-code-generate-1.x ]
jobs:
Build:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
swift: ["5.8", "5.7.3"]
runs-on: ${{ matrix.os }}
steps:
- uses: swift-actions/setup-swift@v1.23.0
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v2
- name: Build
run: swift build -c release
OlderVersionBuild:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
swift: ["5.6.3"]
runs-on: ${{ matrix.os }}
steps:
- uses: swift-actions/setup-swift@v1.23.0
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v2
- name: Build
run: swift build -c release