Update SwaggerParser repository location because original is 404 #72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.7.2"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: swift-actions/[email protected] | |
with: | |
swift-version: ${{ matrix.swift }} | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: swift build -c release | |
Build20: | |
name: Swift ${{ matrix.swift }} on ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
swift: ["5.6.3", "5.5.3"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: swift-actions/[email protected] | |
with: | |
swift-version: ${{ matrix.swift }} | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: swift build -c release |