-
Notifications
You must be signed in to change notification settings - Fork 4
36 lines (34 loc) · 923 Bytes
/
test_build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Build
on:
pull_request:
types:
- opened
- synchronize
permissions:
contents: read
pull-requests: read
jobs:
build:
name: Build APK
runs-on: ubuntu-latest
container:
image: >-
ghcr.io/${{ github.repository_owner }}/7tv4wa-dev:${{
(github.event_name == 'pull_request' &&
(github.event.pull_request.base.ref == 'development' ||
github.event.pull_request.base.ref == 'master')) &&
github.event.pull_request.base.ref ||
'latest' }}
credentials:
username: ${{ github.actor }}
password: ${{ secrets.TOKEN }}
env:
GITHUB_TOKEN: ${{secrets.TOKEN}}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'
token: ${{secrets.TOKEN}}
- name: Build apk
run: chmod +x .github/workflows/*.sh && .github/workflows/build.sh