Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvr authored May 18, 2024
1 parent 6dc814d commit 4a1433f
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,26 @@ jobs:
uses: actions/checkout@v2
with:
submodules: recursive

- name: Java setup
uses: actions/setup-java@v2
with:
distribution: "adopt"
distribution: 'adopt'
java-version: 8
cache: "gradle"
- name: Make gradlew executable
run: chmod +x ./gradlew

cache: gradle

- name: Increase Gradle timeout
run: echo "systemProp.http.socketTimeout=60000" >> ~/.gradle/gradle.properties

- name: Build
run: ./gradlew clean build

run: |
chmod +x ./gradlew
./gradlew setupCiWorkspace --no-daemon
./gradlew clean --no-daemon
./gradlew build --no-daemon --refresh-dependencies
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: Haru
path: build/libs/
path: build/libs/Haru.jar

0 comments on commit 4a1433f

Please sign in to comment.