WIP-Feat: fix #2
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: Lambda Zip for Management Bot | |
on: [ push, workflow_dispatch ] | |
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.12' | |
- name: Install dependencies and create .zip | |
run: | | |
mkdir -p build/python | |
pip install --platform manylinux2014_x86_64 --implementation cp --only-binary=:all: --upgrade --target=python cryptography pygithub | |
zip -r build/python.zip build/python | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: python-package | |
path: build/python.zip |