Skip to content

Commit

Permalink
WIP-Feat: fix
Browse files Browse the repository at this point in the history
Signed-off-by: Trey <[email protected]>
  • Loading branch information
TreyWW committed May 31, 2024
1 parent be76a13 commit a726e2b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/management_bot_lambda.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Lambda Zip for Management Bot
name: Build and Upload Python Package

on: [ push, workflow_dispatch ]
on: [ push ]

jobs:
build:
Expand All @@ -13,16 +13,18 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
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=python cryptography pygithub
zip -r build/python.zip 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: build/python.zip
path: python.zip

0 comments on commit a726e2b

Please sign in to comment.