Skip to content

Commit

Permalink
dev: adds setup-java task to specific java version as 17
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperalani committed Jan 29, 2024
1 parent c357871 commit 162d193
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup java
uses: actions/setup-java@v4
with:
distribution: oracle
java-version: 17
- name: Update code
run: |
git pull origin main
Expand All @@ -88,6 +93,9 @@ jobs:
id: build_args
run:
echo 'name=ptdyeplus-${{ needs.tag_and_release.outputs.new_tag }}+${{env.loader}}-1.19.2' >> $GITHUB_OUTPUT
- name: debug
run: |
echo $JAVA_HOME
- name: build
run: |
gradle wrapper
Expand Down

0 comments on commit 162d193

Please sign in to comment.