chore(github): revert build_pull_request.yaml

This commit is contained in:
Ash 2024-01-22 17:19:24 +08:00
parent cf4e2384d9
commit de5e6cf0f8
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
name: "Build Pull Request"
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/setup-java@v3.10.0
with:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2.4.2
- run: gradle assembleRelease
- uses: actions/upload-artifact@v3.1.1
with:
name: github-${{ github.sha }}
path: app/build/outputs/apk/github/release/*.apk
- uses: actions/upload-artifact@v3
with:
name: fdroid-${{ github.sha }}
path: app/build/outputs/apk/fdroid/release/*.apk