Skip to content

Commit

Permalink
Edited some files
Browse files Browse the repository at this point in the history
  • Loading branch information
zurg3 authored May 8, 2024
1 parent 69c6054 commit 203171d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/java.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Java
env:
JAVA_VERSION: "20"

on:
push:
Expand Down Expand Up @@ -42,7 +44,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: "20"
java-version: ${{ env.JAVA_VERSION }}
architecture: "x64"

- name: Build
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Python
env:
PYTHON_VERSION: "3.10"

on:
push:
Expand All @@ -13,10 +15,10 @@ jobs:
- name: Git Clone
uses: actions/checkout@v4

- name: Set up Python 3.10
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: ${{ env.PYTHON_VERSION }}

- name: Install Python packages
run: |
Expand Down Expand Up @@ -49,10 +51,10 @@ jobs:
- name: Git Clone
uses: actions/checkout@v4

- name: Set up Python 3.10
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: ${{ env.PYTHON_VERSION }}

- name: Install Python packages
run: |
Expand Down

0 comments on commit 203171d

Please sign in to comment.