mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 21:33:53 +01:00
Update android.yml
This commit is contained in:
parent
c6212ca314
commit
9f9456f282
1 changed files with 6 additions and 2 deletions
8
.github/workflows/android.yml
vendored
8
.github/workflows/android.yml
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
name: Android CI
|
name: Android CI
|
||||||
|
|
||||||
on: [push, pull_request_target, workflow_dispatch]
|
on: [push, pull_request, workflow_dispatch]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
@ -9,6 +9,10 @@ permissions:
|
||||||
actions: write
|
actions: write
|
||||||
checks: write
|
checks: write
|
||||||
discussions: write
|
discussions: write
|
||||||
|
packages: write
|
||||||
|
repository-projects: write
|
||||||
|
security-events: write
|
||||||
|
statuses: write
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: build-${{ github.event.pull_request.number || github.ref }}
|
group: build-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
|
@ -112,7 +116,7 @@ jobs:
|
||||||
path: app/build/outputs/apk/prod/debug/app-*.apk
|
path: app/build/outputs/apk/prod/debug/app-*.apk
|
||||||
|
|
||||||
- name: Comment on PR with APK download links
|
- name: Comment on PR with APK download links
|
||||||
if: github.event_name == 'pull_request_target'
|
if: github.event_name == 'pull_request'
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue