Skip to content

Commit

Permalink
ci: 💚 Fix Gradle wrapper not being used for building
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveplays28 committed Dec 6, 2024
1 parent 8d7bd2c commit e31b89f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ on:
jobs:
build:
runs-on: "ubuntu-latest"
strategy:
matrix:
gradle-version: ["wrapper"]
gradle-command: ["gradle"]
include:
- gradle-version: "wrapper"
gradle-command: "./gradlew"
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -23,12 +30,12 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: "wrapper"
gradle-version: ${{ matrix.gradle-version }}

- name: Build JARs
uses: Wandalen/wretry.action@master
with:
command: "gradle chiseledBuild"
command: "${{ matrix.gradle-command }} chiseledBuild"
attempt_limit: 3

- name: Upload Built JARs
Expand Down

0 comments on commit e31b89f

Please sign in to comment.