Skip to content

Commit

Permalink
Reorder the sequence to install python packages in GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ru Chern Chong committed May 19, 2024
1 parent 01fd7a1 commit 66b9e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pulumi.preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-region: ${{ vars.AWS_REGION }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- run: pip install -r requirements.txt
- name: Create Package for AWS Lambda Layer
run: |
python -m venv python
source python/bin/activate
pip install -r requirements.txt
zip -r package.zip python/lib/python3.12/site-packages
- uses: pulumi/actions@v5
with:
Expand Down

0 comments on commit 66b9e16

Please sign in to comment.