diff options
author | Docile-Alligator <chineseperson5@gmail.com> | 2021-08-29 11:45:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-29 11:45:13 +0000 |
commit | 78deab34b70ff8fad90ea3587cf52559c73c93c5 (patch) | |
tree | 73e8f236474fa3f8bb39f80d290c4334db86719c /.github/workflows/build.yml | |
parent | 7adde523e4b84f47ba96dcfd23a692eb64d1d74e (diff) | |
parent | 7e04f30b02f6f134ae65feddadf0b0b831322fcb (diff) | |
download | infinity-for-reddit-78deab34b70ff8fad90ea3587cf52559c73c93c5.tar infinity-for-reddit-78deab34b70ff8fad90ea3587cf52559c73c93c5.tar.gz infinity-for-reddit-78deab34b70ff8fad90ea3587cf52559c73c93c5.tar.bz2 infinity-for-reddit-78deab34b70ff8fad90ea3587cf52559c73c93c5.tar.lz infinity-for-reddit-78deab34b70ff8fad90ea3587cf52559c73c93c5.tar.xz infinity-for-reddit-78deab34b70ff8fad90ea3587cf52559c73c93c5.tar.zst infinity-for-reddit-78deab34b70ff8fad90ea3587cf52559c73c93c5.zip |
Merge pull request #406 from Skyluker4/github-actions
Add Automated Workflows
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..be209dbe --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,33 @@ +name: Build + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + Build: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Set-up JDK 8 + uses: actions/setup-java@v2 + with: + java-version: '8' + distribution: 'adopt' + + - name: Grant Execute Permission for gradlew + run: chmod +x gradlew + + - name: Build with Gradle + run: ./gradlew build -x lint + + - name: Upload apk + uses: actions/upload-artifact@v2 + with: + name: Infinity-${{github.sha}} + path: app/build/outputs/apk/ + if-no-files-found: error |