feat: Added a management bot for github comments #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: Build and Upload Python Package | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' # Specify the version of Python you want to use | |
- name: Install dependencies and create .zip | |
run: | | |
mkdir -p build/python | |
pip install --platform manylinux2014_x86_64 --implementation cp --only-binary=:all: --upgrade --target=build/python cryptography pygithub | |
cd build | |
zip -r python.zip python | |
mv python.zip ../ | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: python-package | |
path: python.zip |