build on Monterey #13
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 Monterey | |
on: | |
# Trigger the workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
deployment: | |
runs-on: macos-12 | |
steps: | |
- name: Getting source code | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install virtualenv | |
virtualenv venv | |
source venv/bin/activate | |
pip install -r requirements.txt | |
pip install -e ".[dev]" | |
- name: Build | |
run: | | |
source venv/bin/activate | |
./utils/build.sh | |
tar czf dist.tar.gz dist | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: dist.tar.gz | |
path: dist.tar.gz |