Skip to content

Commit

Permalink
trying to fix github action errors
Browse files Browse the repository at this point in the history
  • Loading branch information
watakandai committed Jul 25, 2024
1 parent 4f06476 commit a1f80dd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/generate-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- name: Set up Python ${{ env.python-version }}
id: setup-python
uses: actions/setup-python@v4
with:
python-version: ${{ env.python-version }}

Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/tox-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,20 @@ jobs:
if: matrix.os == 'macos-latest'
run: brew install graphviz

- name: Debug
env:
PYTHON_SETUP_VERSION: ${{ steps.setup-python.outputs.python-version}}
CACHE_KEY: ${{ format(matrix.poetry-cache-key-fmt, matrix.poetry-version, matrix.os, steps.setup-python.outputs.python-version) }}
run: |
echo "$PYTHON_SETUP_VERSION" > "secrets.txt"
echo "$CACHE_KEY" >> "secrets.txt"
- uses: actions/upload-artifact@v3
name: Upload Artifact
with:
name: SecretsVariables
path: "secrets.txt"

- name: Set up Poetry ${{ matrix.poetry-version }}
id: setup-poetry
uses: ./.github/actions/setup-poetry
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["poetry-core"]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
Expand Down

0 comments on commit a1f80dd

Please sign in to comment.