Skip to content

Commit

Permalink
Merge pull request #24 from EL-BID/update-gh-actions
Browse files Browse the repository at this point in the history
Update GitHub Actions
  • Loading branch information
Claudio9701 committed Aug 11, 2023
2 parents 9f5138f + 9bbc24a commit 988e170
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, '3.10']
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -54,7 +54,9 @@ jobs:
release:
needs: [docs, build]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
if: |
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) ||
(github.event_name == 'release' && contains(github.event.action, 'published'))
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit 988e170

Please sign in to comment.