1
0
Fork 0
mirror of https://github.com/TheClashFruit/CreatePissAndShit.git synced 2024-09-19 01:16:45 +00:00

feat: add .github stuff

This commit is contained in:
TheClashFruit 2024-08-23 10:52:32 +02:00
parent b66fbe9a9f
commit 3008f1249a
Signed by: TheClashFruit
GPG key ID: 09BB24C34C2F3204
2 changed files with 45 additions and 0 deletions

13
.github/FUNDING.yml vendored Normal file
View file

@ -0,0 +1,13 @@
# These are supported funding model platforms
github: [ TheClashFruit ] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: TheClashFruit # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

32
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,32 @@
name: Build Project
on:
push:
branches: [ main ]
pull_request:
branches: [ main, dev/* ]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
cache: gradle
- name: Make Gradle Executable
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew clean build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
path: build/libs/*.jar