prepare for multiple apps
@@ -10,7 +10,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
KEY_JKS: ${{ secrets.KEY_JKS }}
|
KEY_JKS: ${{ secrets.KEY_JKS }}
|
||||||
KEY_PATH: ${{ github.workspace }}/app/key.jks
|
KEY_PATH: ${{ github.workspace }}/apps/weblibre/key.jks
|
||||||
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
|
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
|
||||||
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
|
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
|
||||||
permissions:
|
permissions:
|
||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ruby-version: '3.3'
|
ruby-version: '3.3'
|
||||||
bundler-cache: true
|
bundler-cache: true
|
||||||
working-directory: app
|
working-directory: apps/weblibre
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
@@ -63,7 +63,7 @@ jobs:
|
|||||||
bundle install
|
bundle install
|
||||||
|
|
||||||
- name: Create key file
|
- name: Create key file
|
||||||
working-directory: app
|
working-directory: apps/weblibre
|
||||||
run: |
|
run: |
|
||||||
echo $KEY_JKS | base64 -di > key.jks
|
echo $KEY_JKS | base64 -di > key.jks
|
||||||
chmod 600 key.jks
|
chmod 600 key.jks
|
||||||
@@ -90,32 +90,32 @@ jobs:
|
|||||||
|
|
||||||
- name: Build App Bundle
|
- name: Build App Bundle
|
||||||
if: steps.build-type.outputs.is_prerelease == 'false'
|
if: steps.build-type.outputs.is_prerelease == 'false'
|
||||||
working-directory: app
|
working-directory: apps/weblibre
|
||||||
run: flutter build appbundle --target-platform android-arm,android-arm64 --no-tree-shake-icons
|
run: flutter build appbundle --target-platform android-arm,android-arm64 --no-tree-shake-icons
|
||||||
|
|
||||||
- name: Create github artifact release (Prerelease)
|
- name: Create github artifact release (Prerelease)
|
||||||
if: steps.build-type.outputs.is_prerelease == 'true'
|
if: steps.build-type.outputs.is_prerelease == 'true'
|
||||||
uses: ncipollo/release-action@v1.17.0
|
uses: ncipollo/release-action@v1.17.0
|
||||||
with:
|
with:
|
||||||
artifacts: "app/build/app/outputs/apk/release/*.apk"
|
artifacts: "apps/weblibre/build/app/outputs/apk/release/*.apk"
|
||||||
prerelease: true
|
prerelease: true
|
||||||
|
|
||||||
- name: Create github artifact release (Full)
|
- name: Create github artifact release (Full)
|
||||||
if: steps.build-type.outputs.is_prerelease == 'false'
|
if: steps.build-type.outputs.is_prerelease == 'false'
|
||||||
uses: ncipollo/release-action@v1.17.0
|
uses: ncipollo/release-action@v1.17.0
|
||||||
with:
|
with:
|
||||||
artifacts: "app/build/app/outputs/apk/release/*.apk,app/build/app/outputs/bundle/release/app-release.aab"
|
artifacts: "apps/weblibre/build/app/outputs/apk/release/*.apk,apps/weblibre/build/app/outputs/bundle/release/app-release.aab"
|
||||||
|
|
||||||
- name: Upload app bundle artifact
|
- name: Upload app bundle artifact
|
||||||
if: steps.build-type.outputs.is_prerelease == 'false'
|
if: steps.build-type.outputs.is_prerelease == 'false'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: appbundle
|
name: appbundle
|
||||||
path: app/build/app/outputs/bundle/release/app-release.aab
|
path: apps/weblibre/build/app/outputs/bundle/release/app-release.aab
|
||||||
|
|
||||||
- name: Release to Google Play (internal)
|
- name: Release to Google Play (internal)
|
||||||
if: steps.build-type.outputs.is_prerelease == 'false'
|
if: steps.build-type.outputs.is_prerelease == 'false'
|
||||||
working-directory: app
|
working-directory: apps/weblibre
|
||||||
env:
|
env:
|
||||||
SUPPLY_PACKAGE_NAME: ${{ secrets.ANDROID_PACKAGE_NAME }}
|
SUPPLY_PACKAGE_NAME: ${{ secrets.ANDROID_PACKAGE_NAME }}
|
||||||
SUPPLY_JSON_KEY_DATA: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}
|
SUPPLY_JSON_KEY_DATA: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}
|
||||||
@@ -126,5 +126,5 @@ jobs:
|
|||||||
|
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
if: always()
|
if: always()
|
||||||
working-directory: app
|
working-directory: apps/weblibre
|
||||||
run: rm -f key.jks
|
run: rm -f key.jks
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img width="250" src="app/assets/icon/icon.png" alt="WebLibre Logo">
|
<img width="250" src="apps/weblibre/assets/icon/icon.png" alt="WebLibre Logo">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
# WebLibre: The Privacy-Focused Browser
|
# WebLibre: The Privacy-Focused Browser
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
../COPYING
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../README.md
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../../../font/src/assets/generated-icons/WebLibre.ttf
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../../../CHANGELOG.md
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../COPYING
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
../../README.md
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Analysis options for the WebLibre app
|
# Analysis options for the WebLibre app
|
||||||
# Includes root configuration with app-specific overrides
|
# Includes root configuration with app-specific overrides
|
||||||
|
|
||||||
include: ../analysis_options.yaml
|
include: ../../analysis_options.yaml
|
||||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 661 B After Width: | Height: | Size: 661 B |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.0 KiB |
@@ -0,0 +1 @@
|
|||||||
|
../../../../font/src/assets/generated-icons/WebLibre.ttf
|
||||||
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
@@ -0,0 +1 @@
|
|||||||
|
../../../../CHANGELOG.md
|
||||||