From 6335ef378eef216dfa7dd36aa02aff7756e4fa35 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 5 Jul 2020 17:26:03 -0400 Subject: [PATCH] github magic --- .github/FUNDING.yml | 12 ++++++++++++ .github/workflows/build.yaml | 29 +++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .github/FUNDING.yml create mode 100644 .github/workflows/build.yaml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..052fdb4 --- /dev/null +++ b/.github/FUNDING.yml @@ -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'] diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..3562fc3 --- /dev/null +++ b/.github/workflows/build.yaml @@ -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 +