From de5e6cf0f83304c6243ced9697a3c1aad77e0226 Mon Sep 17 00:00:00 2001 From: Ash Date: Mon, 22 Jan 2024 17:19:24 +0800 Subject: [PATCH] chore(github): revert build_pull_request.yaml --- .github/workflows/build_pull_request.yaml | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/build_pull_request.yaml diff --git a/.github/workflows/build_pull_request.yaml b/.github/workflows/build_pull_request.yaml new file mode 100644 index 0000000..4424231 --- /dev/null +++ b/.github/workflows/build_pull_request.yaml @@ -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