Skip to content

Commit

Permalink
Fix github workflow and remove dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
isXander committed May 7, 2024
1 parent 299cc6a commit b2aa57c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 24 deletions.
7 changes: 0 additions & 7 deletions .github/dependabot.yml

This file was deleted.

35 changes: 18 additions & 17 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,43 @@ name: Gradle CI

on:
push:
branches:
- '**'
paths-ignore:
- 'README.md'
- 'LICENSE.md'
- 'LICENSE'
- '.gitignore'
- '.gitattributes'
- '.editorconfig'
- 'changelogs/**'
pull_request:
branches:
- '**'
paths-ignore:
- 'README.md'
- 'LICENSE'
- '.gitignore'
- '.gitattributes'
- '.editorconfig'
- 'changelogs/**'
- 'src/*/resources/lang/*'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Build with gradle

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: temurin
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build --no-daemon
- uses: actions/upload-artifact@v2
uses: Wandalen/wretry.action@master
with:
command: ./gradlew buildAllVersions --stacktrace
- uses: actions/upload-artifact@v4
with:
path: build/libs/*.jar
path: versions/**/build/libs/*.jar

0 comments on commit b2aa57c

Please sign in to comment.