Skip to content

Commit

Permalink
Setup python on github
Browse files Browse the repository at this point in the history
  • Loading branch information
ansman committed Dec 20, 2024
1 parent 84d50bd commit 5e73e8b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@ jobs:
distribution: 'zulu'
java-version: '21'

- name: Cache Python
uses: actions/cache@v3
- uses: actions/setup-python@v5
with:
key: ${{ runner.os }}-python-${{ env.cache-name }}-${{ hashFiles('libs.versions.toml', 'build.gradle.kts') }}
path: .gradle/python
python-version: '3.13'

- name: Run Checks
uses: gradle/gradle-build-action@v2
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
distribution: 'zulu'
java-version: '21'

- uses: actions/setup-python@v5
with:
python-version: '3.13'

- name: Publish Docs
uses: gradle/gradle-build-action@v2
env:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/update-gradle-wrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
distribution: 'zulu'
java-version: '21'

- uses: actions/setup-python@v5
with:
python-version: '3.13'

- name: Update Gradle Wrapper
uses: gradle-update/update-gradle-wrapper-action@v1
with:
Expand Down
4 changes: 4 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5e73e8b

Please sign in to comment.