github magic

This commit is contained in:
rusefi 2020-07-05 17:26:03 -04:00
parent 3ca7c5513e
commit 6335ef378e
2 changed files with 41 additions and 0 deletions

12
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1,12 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: rusefi
open_collective: # Replace with a single Open Collective username
ko_fi: # 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
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

29
.github/workflows/build.yaml vendored Normal file
View File

@ -0,0 +1,29 @@
name: Java DfuSe
on: [push,pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-java@v1
with:
java-version: '8'
- name: Test Compiler
run: javac -version
- name: Build
working-directory: ./
run: bash ./gradlew build
- name: Upload JAR
uses: actions/upload-artifact@v2
with:
name: dfu_java
path: ./build/libs/dfu_java.jar