Skip to content

Commit

Permalink
Fix GitHub Actions workflow for release and tagging (#44)
Browse files Browse the repository at this point in the history
Change log:
 1. Added python setup action before the build and publish action on continuous_delivery.yml.
 2. Updated the setup-python action version on CI and CD configs, to avoid deprecation warning.
  • Loading branch information
shaharbar1 authored Aug 21, 2024
1 parent 02266e9 commit 4006e46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/continuous_delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -64,6 +64,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python 3.8 # required for poetry
uses: actions/setup-python@v5
with:
python-version: 3.8

- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
Expand Down

0 comments on commit 4006e46

Please sign in to comment.