Skip to content

Commit

Permalink
Create gradle_build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
onixiya1337 authored Dec 2, 2023
1 parent d3c4df6 commit 0745fcc
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/gradle_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Java CI with Gradle

on:
push:
pull_request:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'

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

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

- name: Archive Artifacts
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: dist/

- name: Archive mapping.txt
uses: actions/upload-artifact@v3
with:
name: Mappings
path: build/tmp/proguard/mapping.txt

0 comments on commit 0745fcc

Please sign in to comment.