Merge pull request #31 from swiftde/add-summary-command #30
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: Swift Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Docker container | |
run: | | |
docker pull swift:5.7 | |
- name: Build SwiftDEBot | |
run: | | |
docker run --rm -v "$(pwd):/src" -w /src swift:5.7 swift build --configuration release |