Skip to content

Commit

Permalink
Merge pull request #24 from langerhans/github-actions
Browse files Browse the repository at this point in the history
Add basic GitHub Actions workflow
  • Loading branch information
miguelguzmanr authored Feb 12, 2024
2 parents 6a767c0 + d157ad1 commit 8407f2f
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 1 deletion.
59 changes: 59 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Build OdinTools

on:
pull_request:
push:
branches:
- main

permissions:
pull-requests: write

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup JDK
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
add-job-summary-as-pr-comment: always
build-scan-publish: true
build-scan-terms-of-service-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-service-agree: "yes"
- name: Build app
run: ./gradlew assemble
- name: Save debug apk
uses: actions/upload-artifact@v4
with:
name: debug apk
path: app/build/outputs/apk/debug/OdinTools-*.apk
if-no-files-found: error
- name: Save (unsigned) release apk
uses: actions/upload-artifact@v4
with:
name: unsigned release apk
path: app/build/outputs/apk/release/OdinTools-*.apk
if-no-files-found: error
dependencies:
name: Dependency graph
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup JDK
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'temurin'
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v3
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# OdinTools
Collection of utilities for the AYN Odin 2.
Collection of utilities for the AYN Odin 2.

Latest release: **[1.2.1](https://github.com/langerhans/OdinTools/releases/latest)**

[![Build OdinTools](https://github.com/langerhans/OdinTools/actions/workflows/build.yml/badge.svg?branch=main&event=push)](https://github.com/langerhans/OdinTools/actions/workflows/build.yml)
### Features
#### App overrides
- Per-app overrides for both controller style and L2/R2 style settings. These will be applied and reverted automatically based on the current foreground app.
Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.

0 comments on commit 8407f2f

Please sign in to comment.