summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorJonatan Rhodin <jonatan.rhodin@mullvad.net>2025-01-28 10:35:56 +0100
committerJonatan Rhodin <jonatan.rhodin@mullvad.net>2025-01-28 10:35:56 +0100
commitad6080818b68537c60ac00a232bf7458ce29b0eb (patch)
treebe88797d5613567c2e1806fbbf82d438bd720dc3 /.github
parent95e51f000f8259dfb3e5966831bd102937e6e935 (diff)
parent1fd061cc62fa0b3deb56302d8d74d513345c3037 (diff)
downloadmullvadvpn-ad6080818b68537c60ac00a232bf7458ce29b0eb.tar.xz
mullvadvpn-ad6080818b68537c60ac00a232bf7458ce29b0eb.zip
Merge branch 'ensure-relay-list-is-built-and-bundled-in-a-reproducible-way-droid-1674'
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/android-app.yml53
1 files changed, 0 insertions, 53 deletions
diff --git a/.github/workflows/android-app.yml b/.github/workflows/android-app.yml
index 862e2e507d..95383d4ffc 100644
--- a/.github/workflows/android-app.yml
+++ b/.github/workflows/android-app.yml
@@ -104,49 +104,6 @@ jobs:
if-no-files-found: error
retention-days: 7
- generate-relay-list:
- name: Generate relay list # Used by wait for jobs.
- needs: prepare
- runs-on: ubuntu-latest
- container:
- image: ${{ needs.prepare.outputs.container_image }}
- steps:
- # Fix for HOME path overridden by GH runners when building in containers, see:
- # https://github.com/actions/runner/issues/863
- - name: Fix HOME path
- run: echo "HOME=/root" >> $GITHUB_ENV
-
- - name: Get date
- id: get-date
- shell: bash
- run: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
-
- - name: Cache
- uses: actions/cache@v4
- id: cache-relay-list
- with:
- path: android/app/build/extraAssets/relays.json
- key: relay-list-${{ steps.get-date.outputs.date }}
-
- - name: Checkout repository
- if: steps.cache-relay-list.outputs.cache-hit != 'true'
- uses: actions/checkout@v4
- with:
- submodules: true
-
- - name: Generate
- if: steps.cache-relay-list.outputs.cache-hit != 'true'
- shell: bash
- run: ./android/gradlew -p android generateRelayList
-
- - name: Upload
- uses: actions/upload-artifact@v4
- with:
- name: relay-list
- path: android/app/build/extraAssets/relays.json
- if-no-files-found: error
- retention-days: 7
-
build-native:
name: Build native # Used by wait for jobs.
needs: prepare
@@ -311,10 +268,6 @@ jobs:
"workflowFile": "android-app.yml",
"jobMatchMode": "prefix",
"jobName": "Build native"
- },
- {
- "workflowFile": "android-app.yml",
- "jobName": "Generate relay list"
}
]
@@ -324,11 +277,6 @@ jobs:
path: android/app/build/rustJniLibs/android
merge-multiple: true
- - uses: actions/download-artifact@v4
- with:
- name: relay-list
- path: android/app/build/extraAssets
-
- name: Build app
uses: burrunan/gradle-cache-action@v1
with:
@@ -410,7 +358,6 @@ jobs:
arguments: |
${{ matrix.assemble-command }}
-x cargoBuild
- -x generateRelayList
-x mergeOssProdDebugJniLibFolders
-x mergePlayStagemoleDebugJniLibFolders
gradle-version: wrapper