Model path is injected from environment in example #16
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 Library using Swift Package Manager | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source Code | |
uses: actions/checkout@v3 | |
- name: Install Swift | |
run: | | |
sudo apt-get update | |
sudo apt install -y curl | |
curl -s https://archive.swiftlang.xyz/install.sh | sudo bash | |
sudo apt install -y swiftlang | |
swift --version | |
- name: Build with Swift Package Manager | |
run: swift build |