Skip to content

Commit

Permalink
ci: Remove env refrence in job names
Browse files Browse the repository at this point in the history
  • Loading branch information
IanTapply22 committed May 25, 2024
1 parent 41a6130 commit 94bfee0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ on:
pull_request:
branches: [ "main" ]

env:
JAVA_VERSION: ${{ vars.JAVA_VERSION }}

jobs:
ubunutu:
name: 'Ubuntu Latest (JDK $JAVA_VERSION)'
name: 'Ubuntu Latest'
runs-on: ubuntu-latest
environment: jdk21-building
permissions:
Expand All @@ -32,7 +29,7 @@ jobs:
run: ./gradlew build --scan

macos:
name: 'MacOS Latest (JDK $JAVA_VERSION)'
name: 'MacOS Latest'
runs-on: macos-latest
environment: jdk21-building
permissions:
Expand All @@ -53,7 +50,7 @@ jobs:
run: ./gradlew build --scan

windows:
name: 'Windows Latest (JDK $JAVA_VERSION)'
name: 'Windows Latest'
runs-on: windows-latest
environment: jdk21-building
permissions:
Expand Down

0 comments on commit 94bfee0

Please sign in to comment.