Skip to content

Commit

Permalink
try to optimize upload/download
Browse files Browse the repository at this point in the history
  • Loading branch information
ziodave committed Jul 31, 2024
1 parent d8e62f0 commit da790be
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: python-package
path: ./wordlift_client
path: |
wordlift_client/
requirements.pinned.txt
retention-days: 1

# Step 11: Build the binary
Expand All @@ -108,15 +110,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]

steps:
# Step 1: Download the package
- name: Download the package
uses: actions/download-artifact@v4
with:
name: python-package
path: ./wordlift_client
path: |
wordlift_client/
requirements.pinned.txt
# Step 2: Set up Python
- name: Set up Python ${{ matrix.python-version }}
Expand Down

0 comments on commit da790be

Please sign in to comment.