Skip to content

Commit

Permalink
Add github files
Browse files Browse the repository at this point in the history
  • Loading branch information
chiteroman committed Dec 11, 2023
1 parent 03d7124 commit 10312d0
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 35 deletions.
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"

- package-ecosystem: "gradle" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
71 changes: 36 additions & 35 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,37 @@
name: Android CI

on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Check out
uses: actions/checkout@v4
with:
submodules: "recursive"

- name: set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew assembleRelease

- name: Upload PlayIntegrityFix.zip
uses: actions/upload-artifact@v3
with:
name: PlayIntegrityFix
name: Android CI

on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Check out
uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: 0

- name: set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew assembleRelease

- name: Upload PlayIntegrityFix.zip
uses: actions/upload-artifact@v3
with:
name: PlayIntegrityFix
path: module/*
25 changes: 25 additions & 0 deletions .github/workflows/update-gradle-wrapper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Update Gradle Wrapper

on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
update-gradle-wrapper:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4

- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 21

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Update Gradle Wrapper
uses: gradle-update/update-gradle-wrapper-action@v1

0 comments on commit 10312d0

Please sign in to comment.