Merge pull request #237 from ds-wizard/hotfix/4.10.6 #285
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 | |
on: | |
push: | |
jobs: | |
package: | |
name: Lambda ZIP Package | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
package: | |
- data-seeder | |
- mailer | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
cache: pip | |
cache-dependency-path: | | |
**/pyproject.toml | |
**/requirements*.txt | |
- name: Prepare Python env | |
run: | | |
python -m pip install -U pip setuptools wheel | |
- name: Create build info | |
run: | | |
bash scripts/build-info.sh | |
- name: Install dependencies | |
run: | | |
cd packages/dsw-${{ matrix.package }} | |
make lambda-package | |
- name: Create artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.package }}-lambda.zip | |
path: packages/dsw-${{ matrix.package }}/${{ matrix.package }}-lambda.zip |