Skip to content

Commit

Permalink
Setup python on github (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
ansman authored Dec 20, 2024
1 parent 0a5c621 commit 827f9d8
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 827f9d8

Please sign in to comment.