Pull EdgeFunction #4
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: Pull EdgeFunction | |
on: workflow_dispatch | |
jobs: | |
pypi: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install build twine | |
python3 -m pip install -r requirements.txt | |
- name: Pull EdgeFunction | |
run: python3 edgefxn.py | |
- name: Build Function | |
run: python3 -m build | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Package | |
path: | | |
dist/fxn-0.0.32.tar.gz | |
dist/fxn-0.0.32-py3-none-any.whl |