Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjoyo committed Feb 2, 2024
1 parent c8f31a8 commit 0f63f95
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
include:
- runner: ubuntu-latest
arch: amd64
#- runner: buildjet-8vcpu-ubuntu-2204-arm
# arch: arm64
- runner: buildjet-8vcpu-ubuntu-2204-arm
arch: arm64
runs-on: ${{ matrix.runner }}
defaults:
run:
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
matrix:
include:
- arch: amd64
#- arch: arm64
- arch: arm64
runs-on: ubuntu-latest
steps:
-
Expand Down Expand Up @@ -205,14 +205,23 @@ jobs:
name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"
cache: 'poetry'
cache-dependency-path: bpm-ai-connectors-c8/poetry.lock
python-version: '3.12'
-
name: Set up poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
-
name: Create local environment in project for caching
run: |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
-
uses: actions/cache@v3
name: Set up cache based on dependencies lock file
with:
path: ./bpm-ai-connectors-c8/.venv
key: venv-${{ hashFiles('**/poetry.lock') }}
-
name: Install dependencies
run: poetry install --only test --no-root --no-cache
Expand Down

0 comments on commit 0f63f95

Please sign in to comment.