Skip to content

Commit

Permalink
ci: Add
Browse files Browse the repository at this point in the history
  • Loading branch information
VidTu committed Feb 7, 2024
1 parent 6ad6725 commit 81c17b2
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: daily
- package-ecosystem: gradle
directory: '/'
schedule:
interval: daily
ignore:
- dependency-name: "*minecraft*"
- dependency-name: "*fabric*"
- dependency-name: "*quilt*"
- dependency-name: "*forge*"
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'Build'
on: [ pull_request, push, workflow_dispatch ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Validate Gradle wrapper'
uses: gradle/wrapper-validation-action@v2
- name: 'Setup JDK'
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
- name: 'Make wrapper executable'
run: 'chmod +x ./gradlew'
- name: 'Setup Gradle'
uses: gradle/actions/setup-gradle@v3
- name: 'Build'
run: './gradlew -Dorg.gradle.daemon=false build --no-daemon'
- name: 'Upload artifacts'
uses: actions/upload-artifact@v4
with:
name: 'Artifacts'
path: |
1.20.4-fabric/build/libs/
1.20.4-quilt/build/libs/
1.20.4-forge/build/libs/
1.20.4-neoforge/build/libs/

0 comments on commit 81c17b2

Please sign in to comment.