-
Notifications
You must be signed in to change notification settings - Fork 51
52 lines (41 loc) · 1.72 KB
/
Copy pathpr.yml
File metadata and controls
52 lines (41 loc) · 1.72 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: pr
on: pull_request
# Note: we'll reference actions by commits for 'reproducibility sakes' (we don't
# want an action author to change the tag reference and break our reproducibility).
jobs:
pr:
runs-on: ubuntu-24.04
steps:
- name: Free disk space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf /opt/hostedtoolcache/CodeQL
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # Matches tag v4.0.0
# https://github.com/docker/setup-buildx-action/releases/tag/v4.0.0
with:
buildkitd-flags: --debug
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # Matches tag v6.0.2
# https://github.com/actions/checkout/releases/tag/v6.0.2
- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # Matches tag v6.1.0
# https://github.com/gradle/actions/releases/tag/v6.1.0
- name: Create output dir
run: |
mkdir -p apk
- name: Build
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # Matches tag v7.1.0
# https://github.com/docker/build-push-action/releases/tag/v7.1.0
with:
file: android/Dockerfile
context: .
outputs: apk
- name: Upload APK
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # Matches tag v7.0.1
# https://github.com/actions/upload-artifact/releases/tag/v7.0.1
with:
name: apk
path: apk/apolloui-prod-*-release-unsigned.apk