Skip to content

Commit

Permalink
update to Java 22 (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbusche authored Jun 15, 2024
1 parent 501fb86 commit 1514def
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/daily-standings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 21 ]
java-version: [ 22 ]
os: [ ubuntu-latest ]

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 21 ]
os: [ubuntu-latest, macos-latest, windows-latest]
java-version: [ 22 ]
os: [ ubuntu-latest, macos-latest, windows-latest ]

steps:
- name: Check out code
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
## Generating standings on demand

- Download jar file from the [latest release](https://github.com/mrbusche/trap-scoring/releases)
- You will need [Java 21](https://adoptium.net/) to run the jar file
- You will need [Java 22](https://adoptium.net/) to run the jar file
- Open command prompt to directory with downloaded jar file
- Run `java -jar trap-6.1.1.jar` (make sure you have the correct filename from the release)
- Run `java -jar trap-6.2.0.jar` (make sure you have the correct filename from the release)
- There will be output as the process generates the file
- When finished there will be a file named `leaguedata-${date-string}` generated in the directory you ran the command from

## Downloading a daily generated report

Every day at 6 AM UTC the report is [generated and uploaded](https://github.com/mrbusche/trap-scoring/actions/workflows/daily-standings.yml).
Every day at 6 AM UTC the report is [generated and uploaded](https://github.com/mrbusche/trap-scoring/actions/workflows/daily-standings.yml).

1. Login to GitHub
2. Click on the top [Daily Standings](https://github.com/mrbusche/trap-scoring/actions/workflows/daily-standings.yml) link
2. Click on the top [Daily Standings](https://github.com/mrbusche/trap-scoring/actions/workflows/daily-standings.yml) link
3. Download `trap-league-standings`
4. Extract the zip file
5. Report will be named `league-data-${todays-date}.xlsx`
Expand Down
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ plugins {
}

group = "com.trap-scoring"
version = "6.1.1"
version = "6.2.0"

java.sourceCompatibility = JavaVersion.VERSION_21
java.targetCompatibility = JavaVersion.VERSION_21
java.sourceCompatibility = JavaVersion.VERSION_22
java.targetCompatibility = JavaVersion.VERSION_22

repositories {
mavenCentral()
Expand Down

0 comments on commit 1514def

Please sign in to comment.