Update Github Actions
This commit is contained in:
@@ -10,21 +10,21 @@
|
|||||||
name: Create Comment When Help wanted
|
name: Create Comment When Help wanted
|
||||||
|
|
||||||
on:
|
on:
|
||||||
issues:
|
issues:
|
||||||
types:
|
types:
|
||||||
- labeled
|
- labeled
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
add-comment:
|
add-comment:
|
||||||
if: contains(github.event.label.name, 'Help Wanted')
|
if: contains(github.event.label.name, 'Help Wanted')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
steps:
|
steps:
|
||||||
- name: Create comment
|
- name: Create comment
|
||||||
uses: peter-evans/create-or-update-comment@v4.0.0
|
uses: peter-evans/create-or-update-comment@v4.0.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||||
issue-number: ${{ github.event.issue.number }}
|
issue-number: ${{ github.event.issue.number }}
|
||||||
body: |
|
body: |
|
||||||
This issue is available for anyone to work on. **Make sure to reference this issue in your pull request.** :sparkles: Thank you for your contribution! :sparkles:
|
This issue is available for anyone to work on. **Make sure to reference this issue in your pull request.** :sparkles: Thank you for your contribution! :sparkles:
|
||||||
|
|||||||
92
.github/workflows/android-branch_ci.yml
vendored
92
.github/workflows/android-branch_ci.yml
vendored
@@ -2,58 +2,58 @@
|
|||||||
name: Android Feature Branch CI
|
name: Android Feature Branch CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- '*'
|
- "*"
|
||||||
- '*/**'
|
- "*/**"
|
||||||
- '!*main'
|
- "!*main"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build, Sign & Upload
|
name: Build, Sign & Upload
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout project
|
- name: Checkout project
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||||
|
|
||||||
- name: set up JDK 17
|
- name: set up JDK 17
|
||||||
uses: actions/setup-java@v4.2.1
|
uses: actions/setup-java@v4.2.1
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: "17"
|
||||||
distribution: 'temurin'
|
distribution: "temurin"
|
||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
- uses: actions/cache@v4.0.2
|
- uses: actions/cache@v4.0.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.gradle/caches
|
~/.gradle/caches
|
||||||
~/.gradle/wrapper
|
~/.gradle/wrapper
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
|
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
|
|
||||||
- name: Get weather.properties from secrets
|
- name: Get weather.properties from secrets
|
||||||
run: printf "%s" "${{ secrets.WEATHER_PROPERTIES }}" > $GITHUB_WORKSPACE/weather.properties
|
run: printf "%s" "${{ secrets.WEATHER_PROPERTIES }}" > $GITHUB_WORKSPACE/weather.properties
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew clean && ./gradlew assembleWithInternetDebug && ./gradlew assembleWithoutInternetDebug
|
run: ./gradlew clean && ./gradlew assembleWithInternetDebug && ./gradlew assembleWithoutInternetDebug
|
||||||
|
|
||||||
- name: Upload Artifact - WithInternet
|
- name: Upload Artifact - WithInternet
|
||||||
uses: actions/upload-artifact@v4.3.4
|
uses: actions/upload-artifact@v4.3.4
|
||||||
with:
|
with:
|
||||||
name: Signed app bundle - WithInternet
|
name: Signed app bundle - WithInternet
|
||||||
path: app/build/outputs/apk/withInternet/debug/*.apk
|
path: app/build/outputs/apk/withInternet/debug/*.apk
|
||||||
retention-days: 3
|
retention-days: 3
|
||||||
|
|
||||||
- name: Upload Artifact - WithoutInternet
|
- name: Upload Artifact - WithoutInternet
|
||||||
uses: actions/upload-artifact@v4.3.4
|
uses: actions/upload-artifact@v4.3.4
|
||||||
with:
|
with:
|
||||||
name: Signed app bundle - WithoutInternet
|
name: Signed app bundle - WithoutInternet
|
||||||
path: app/build/outputs/apk/withoutInternet/debug/*.apk
|
path: app/build/outputs/apk/withoutInternet/debug/*.apk
|
||||||
retention-days: 3
|
retention-days: 3
|
||||||
|
|||||||
88
.github/workflows/android-main_ci.yml
vendored
88
.github/workflows/android-main_ci.yml
vendored
@@ -2,56 +2,56 @@
|
|||||||
name: Android Main Branch CI
|
name: Android Main Branch CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- "main"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build, Sign & Upload
|
name: Build, Sign & Upload
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout project
|
- name: Checkout project
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||||
|
|
||||||
- name: set up JDK 17
|
- name: set up JDK 17
|
||||||
uses: actions/setup-java@v4.2.1
|
uses: actions/setup-java@v4.2.1
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: "17"
|
||||||
distribution: 'temurin'
|
distribution: "temurin"
|
||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
- uses: actions/cache@v4.0.2
|
- uses: actions/cache@v4.0.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.gradle/caches
|
~/.gradle/caches
|
||||||
~/.gradle/wrapper
|
~/.gradle/wrapper
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
|
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
|
|
||||||
- name: Get weather.properties from secrets
|
- name: Get weather.properties from secrets
|
||||||
run: printf "%s" "${{ secrets.WEATHER_PROPERTIES }}" > $GITHUB_WORKSPACE/weather.properties
|
run: printf "%s" "${{ secrets.WEATHER_PROPERTIES }}" > $GITHUB_WORKSPACE/weather.properties
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew clean && ./gradlew assembleWithInternetDebug && ./gradlew assembleWithoutInternetDebug
|
run: ./gradlew clean && ./gradlew assembleWithInternetDebug && ./gradlew assembleWithoutInternetDebug
|
||||||
|
|
||||||
- name: Upload Artifact - WithInternet
|
- name: Upload Artifact - WithInternet
|
||||||
uses: actions/upload-artifact@v4.3.4
|
uses: actions/upload-artifact@v4.3.4
|
||||||
with:
|
with:
|
||||||
name: Signed app bundle - WithInternet
|
name: Signed app bundle - WithInternet
|
||||||
path: app/build/outputs/apk/withInternet/debug/*.apk
|
path: app/build/outputs/apk/withInternet/debug/*.apk
|
||||||
retention-days: 3
|
retention-days: 3
|
||||||
|
|
||||||
- name: Upload Artifact - WithoutInternet
|
- name: Upload Artifact - WithoutInternet
|
||||||
uses: actions/upload-artifact@v4.3.4
|
uses: actions/upload-artifact@v4.3.4
|
||||||
with:
|
with:
|
||||||
name: Signed app bundle - WithoutInternet
|
name: Signed app bundle - WithoutInternet
|
||||||
path: app/build/outputs/apk/withoutInternet/debug/*.apk
|
path: app/build/outputs/apk/withoutInternet/debug/*.apk
|
||||||
retention-days: 3
|
retention-days: 3
|
||||||
|
|||||||
88
.github/workflows/android-pr_ci.yml
vendored
88
.github/workflows/android-pr_ci.yml
vendored
@@ -2,56 +2,56 @@
|
|||||||
name: Android PR CI
|
name: Android PR CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- "main"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build, Sign & Upload
|
name: Build, Sign & Upload
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout project
|
- name: Checkout project
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: set up JDK 17
|
- name: set up JDK 17
|
||||||
uses: actions/setup-java@v4.2.1
|
uses: actions/setup-java@v4.2.1
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: "17"
|
||||||
distribution: 'temurin'
|
distribution: "temurin"
|
||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
- uses: actions/cache@v4.0.2
|
- uses: actions/cache@v4.0.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.gradle/caches
|
~/.gradle/caches
|
||||||
~/.gradle/wrapper
|
~/.gradle/wrapper
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
|
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
|
|
||||||
- name: Get weather.properties from secrets
|
- name: Get weather.properties from secrets
|
||||||
run: printf "%s" "${{ secrets.WEATHER_PROPERTIES }}" > $GITHUB_WORKSPACE/weather.properties
|
run: printf "%s" "${{ secrets.WEATHER_PROPERTIES }}" > $GITHUB_WORKSPACE/weather.properties
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew clean && ./gradlew assembleWithInternetDebug && ./gradlew assembleWithoutInternetDebug
|
run: ./gradlew clean && ./gradlew assembleWithInternetDebug && ./gradlew assembleWithoutInternetDebug
|
||||||
|
|
||||||
- name: Upload Artifact - WithInternet
|
- name: Upload Artifact - WithInternet
|
||||||
uses: actions/upload-artifact@v4.3.4
|
uses: actions/upload-artifact@v4.3.4
|
||||||
with:
|
with:
|
||||||
name: Signed app bundle - WithInternet
|
name: Signed app bundle - WithInternet
|
||||||
path: app/build/outputs/apk/withInternet/debug/*.apk
|
path: app/build/outputs/apk/withInternet/debug/*.apk
|
||||||
retention-days: 3
|
retention-days: 3
|
||||||
|
|
||||||
- name: Upload Artifact - WithoutInternet
|
- name: Upload Artifact - WithoutInternet
|
||||||
uses: actions/upload-artifact@v4.3.4
|
uses: actions/upload-artifact@v4.3.4
|
||||||
with:
|
with:
|
||||||
name: Signed app bundle - WithoutInternet
|
name: Signed app bundle - WithoutInternet
|
||||||
path: app/build/outputs/apk/withoutInternet/debug/*.apk
|
path: app/build/outputs/apk/withoutInternet/debug/*.apk
|
||||||
retention-days: 3
|
retention-days: 3
|
||||||
|
|||||||
126
.github/workflows/android-release_ci-forced.yml
vendored
126
.github/workflows/android-release_ci-forced.yml
vendored
@@ -2,77 +2,77 @@
|
|||||||
name: Android Release CI Forced
|
name: Android Release CI Forced
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build, Sign & Release
|
name: Build, Sign & Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout project
|
- name: Checkout project
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||||
|
|
||||||
- name: set up JDK 17
|
- name: set up JDK 17
|
||||||
uses: actions/setup-java@v4.2.1
|
uses: actions/setup-java@v4.2.1
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: "17"
|
||||||
distribution: 'temurin'
|
distribution: "temurin"
|
||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
- uses: actions/cache@v4.0.2
|
- uses: actions/cache@v4.0.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.gradle/caches
|
~/.gradle/caches
|
||||||
~/.gradle/wrapper
|
~/.gradle/wrapper
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
|
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
|
|
||||||
- name: Get weather.properties from secrets
|
- name: Get weather.properties from secrets
|
||||||
run: printf "%s" "${{ secrets.WEATHER_PROPERTIES }}" > $GITHUB_WORKSPACE/weather.properties
|
run: printf "%s" "${{ secrets.WEATHER_PROPERTIES }}" > $GITHUB_WORKSPACE/weather.properties
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew clean && ./gradlew assembleWithInternetRelease && ./gradlew assembleWithoutInternetRelease
|
run: ./gradlew clean && ./gradlew assembleWithInternetRelease && ./gradlew assembleWithoutInternetRelease
|
||||||
|
|
||||||
- name: Sign APK - WithInternet
|
- name: Sign APK - WithInternet
|
||||||
uses: ilharp/sign-android-release@v1.0.4
|
uses: ilharp/sign-android-release@v1.0.4
|
||||||
# ID used to access action output
|
# ID used to access action output
|
||||||
id: sign_app_withInternet
|
id: sign_app_withInternet
|
||||||
with:
|
with:
|
||||||
releaseDir: app/build/outputs/apk/withInternet/release
|
releaseDir: app/build/outputs/apk/withInternet/release
|
||||||
signingKey: ${{ secrets.SIGNINGKEY_BASE64 }}
|
signingKey: ${{ secrets.SIGNINGKEY_BASE64 }}
|
||||||
keyAlias: ${{ secrets.KEY_ALIAS }}
|
keyAlias: ${{ secrets.KEY_ALIAS }}
|
||||||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||||
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
||||||
buildToolsVersion: 33.0.0
|
buildToolsVersion: 33.0.0
|
||||||
|
|
||||||
- name: Upload Artifact - WithInternet
|
- name: Upload Artifact - WithInternet
|
||||||
uses: actions/upload-artifact@v4.3.4
|
uses: actions/upload-artifact@v4.3.4
|
||||||
with:
|
with:
|
||||||
name: Signed app bundle - WithInternet
|
name: Signed app bundle - WithInternet
|
||||||
path: app/build/outputs/apk/withInternet/release/*.apk
|
path: app/build/outputs/apk/withInternet/release/*.apk
|
||||||
retention-days: 3
|
retention-days: 3
|
||||||
|
|
||||||
- name: Sign APK - WithoutInternet
|
- name: Sign APK - WithoutInternet
|
||||||
uses: ilharp/sign-android-release@v1.0.4
|
uses: ilharp/sign-android-release@v1.0.4
|
||||||
# ID used to access action output
|
# ID used to access action output
|
||||||
id: sign_app_withoutInternet
|
id: sign_app_withoutInternet
|
||||||
with:
|
with:
|
||||||
releaseDir: app/build/outputs/apk/withoutInternet/release
|
releaseDir: app/build/outputs/apk/withoutInternet/release
|
||||||
signingKey: ${{ secrets.SIGNINGKEY_BASE64 }}
|
signingKey: ${{ secrets.SIGNINGKEY_BASE64 }}
|
||||||
keyAlias: ${{ secrets.KEY_ALIAS }}
|
keyAlias: ${{ secrets.KEY_ALIAS }}
|
||||||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||||
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
||||||
buildToolsVersion: 33.0.0
|
buildToolsVersion: 33.0.0
|
||||||
|
|
||||||
- name: Upload Artifact - WithoutInternet
|
- name: Upload Artifact - WithoutInternet
|
||||||
uses: actions/upload-artifact@v4.3.4
|
uses: actions/upload-artifact@v4.3.4
|
||||||
with:
|
with:
|
||||||
name: Signed app bundle - WithoutInternet
|
name: Signed app bundle - WithoutInternet
|
||||||
path: app/build/outputs/apk/withoutInternet/release/*.apk
|
path: app/build/outputs/apk/withoutInternet/release/*.apk
|
||||||
retention-days: 3
|
retention-days: 3
|
||||||
|
|||||||
138
.github/workflows/android-release_ci.yml
vendored
138
.github/workflows/android-release_ci.yml
vendored
@@ -2,83 +2,83 @@
|
|||||||
name: Android Release CI
|
name: Android Release CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- "*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build, Sign & Release
|
name: Build, Sign & Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout project
|
- name: Checkout project
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||||
|
|
||||||
- name: set up JDK 17
|
- name: set up JDK 17
|
||||||
uses: actions/setup-java@v4.2.1
|
uses: actions/setup-java@v4.2.1
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: "17"
|
||||||
distribution: 'temurin'
|
distribution: "temurin"
|
||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
- uses: actions/cache@v4.0.2
|
- uses: actions/cache@v4.0.2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.gradle/caches
|
~/.gradle/caches
|
||||||
~/.gradle/wrapper
|
~/.gradle/wrapper
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
|
|
||||||
- name: Grant execute permission for gradlew
|
- name: Grant execute permission for gradlew
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
|
|
||||||
- name: Get weather.properties from secrets
|
- name: Get weather.properties from secrets
|
||||||
run: printf "%s" "${{ secrets.WEATHER_PROPERTIES }}" > $GITHUB_WORKSPACE/weather.properties
|
run: printf "%s" "${{ secrets.WEATHER_PROPERTIES }}" > $GITHUB_WORKSPACE/weather.properties
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew clean && ./gradlew assembleWithInternetRelease && ./gradlew assembleWithoutInternetRelease
|
run: ./gradlew clean && ./gradlew assembleWithInternetRelease && ./gradlew assembleWithoutInternetRelease
|
||||||
|
|
||||||
- name: Sign APK - WithInternet
|
- name: Sign APK - WithInternet
|
||||||
uses: ilharp/sign-android-release@v1.0.4
|
uses: ilharp/sign-android-release@v1.0.4
|
||||||
# ID used to access action output
|
# ID used to access action output
|
||||||
id: sign_app_withInternet
|
id: sign_app_withInternet
|
||||||
with:
|
with:
|
||||||
releaseDir: app/build/outputs/apk/withInternet/release
|
releaseDir: app/build/outputs/apk/withInternet/release
|
||||||
signingKey: ${{ secrets.SIGNINGKEY_BASE64 }}
|
signingKey: ${{ secrets.SIGNINGKEY_BASE64 }}
|
||||||
keyAlias: ${{ secrets.KEY_ALIAS }}
|
keyAlias: ${{ secrets.KEY_ALIAS }}
|
||||||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||||
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
||||||
buildToolsVersion: 33.0.0
|
buildToolsVersion: 33.0.0
|
||||||
|
|
||||||
- name: Release to GitHub - WithInternet
|
- name: Release to GitHub - WithInternet
|
||||||
uses: svenstaro/upload-release-action@2.9.0
|
uses: svenstaro/upload-release-action@2.9.0
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GIT_BOT_TOKEN }}
|
repo_token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||||
file: ${{steps.sign_app_withInternet.outputs.signedFile}}
|
file: ${{steps.sign_app_withInternet.outputs.signedFile}}
|
||||||
asset_name: EasyLauncher-Internet-${{ github.ref_name }}-Signed.apk
|
asset_name: EasyLauncher-Internet-${{ github.ref_name }}-Signed.apk
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
- name: Sign APK - WithoutInternet
|
- name: Sign APK - WithoutInternet
|
||||||
uses: ilharp/sign-android-release@v1.0.4
|
uses: ilharp/sign-android-release@v1.0.4
|
||||||
# ID used to access action output
|
# ID used to access action output
|
||||||
id: sign_app_withoutInternet
|
id: sign_app_withoutInternet
|
||||||
with:
|
with:
|
||||||
releaseDir: app/build/outputs/apk/withoutInternet/release
|
releaseDir: app/build/outputs/apk/withoutInternet/release
|
||||||
signingKey: ${{ secrets.SIGNINGKEY_BASE64 }}
|
signingKey: ${{ secrets.SIGNINGKEY_BASE64 }}
|
||||||
keyAlias: ${{ secrets.KEY_ALIAS }}
|
keyAlias: ${{ secrets.KEY_ALIAS }}
|
||||||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||||
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
keyPassword: ${{ secrets.KEY_PASSWORD }}
|
||||||
buildToolsVersion: 33.0.0
|
buildToolsVersion: 33.0.0
|
||||||
|
|
||||||
- name: Release to GitHub - WithoutInternet
|
- name: Release to GitHub - WithoutInternet
|
||||||
uses: svenstaro/upload-release-action@2.9.0
|
uses: svenstaro/upload-release-action@2.9.0
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GIT_BOT_TOKEN }}
|
repo_token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||||
file: ${{steps.sign_app_withoutInternet.outputs.signedFile}}
|
file: ${{steps.sign_app_withoutInternet.outputs.signedFile}}
|
||||||
asset_name: EasyLauncher-${{ github.ref_name }}-Signed.apk
|
asset_name: EasyLauncher-${{ github.ref_name }}-Signed.apk
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|||||||
92
.github/workflows/changelog.yml
vendored
92
.github/workflows/changelog.yml
vendored
@@ -1,54 +1,54 @@
|
|||||||
name: Update CHANGELOG.md
|
name: Update CHANGELOG.md
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- "*"
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- "main"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
changelog:
|
changelog:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Generate a changelog
|
- name: Generate a changelog
|
||||||
uses: orhun/git-cliff-action@v3.2.0
|
uses: orhun/git-cliff-action@v3.2.0
|
||||||
with:
|
with:
|
||||||
config: cliff.toml
|
config: cliff.toml
|
||||||
args: --verbose
|
args: --verbose
|
||||||
env:
|
env:
|
||||||
OUTPUT: CHANGELOG.md
|
OUTPUT: CHANGELOG.md
|
||||||
|
|
||||||
- name: Import GPG key
|
- name: Import GPG key
|
||||||
id: import_gpg
|
id: import_gpg
|
||||||
uses: crazy-max/ghaction-import-gpg@v6.1.0
|
uses: crazy-max/ghaction-import-gpg@v6.1.0
|
||||||
with:
|
with:
|
||||||
gpg_private_key: ${{ secrets.GIT_ACTIONS_GPG_KEY }}
|
gpg_private_key: ${{ secrets.GIT_ACTIONS_GPG_KEY }}
|
||||||
git_user_signingkey: true
|
git_user_signingkey: true
|
||||||
git_commit_gpgsign: true
|
git_commit_gpgsign: true
|
||||||
|
|
||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
run: |
|
run: |
|
||||||
if [[ `git status --porcelain` ]]; then
|
if [[ `git status --porcelain` ]]; then
|
||||||
COMMIT_AUTHOR=$(git log -1 --pretty=%an)
|
COMMIT_AUTHOR=$(git log -1 --pretty=%an)
|
||||||
if [[ "$COMMIT_AUTHOR" != "HeCodes2Much-Bot" ]]; then
|
if [[ "$COMMIT_AUTHOR" != "HeCodes2Much-Bot" ]]; then
|
||||||
git config --global user.name ${{ secrets.GIT_NAME }}
|
git config --global user.name ${{ secrets.GIT_NAME }}
|
||||||
git config --global user.email ${{ secrets.GIT_EMAIL }}
|
git config --global user.email ${{ secrets.GIT_EMAIL }}
|
||||||
|
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m "chore(changelog): Update CHANGELOG.md"
|
git commit -m "chore(changelog): Update CHANGELOG.md"
|
||||||
git push origin main
|
git push origin main
|
||||||
else
|
else
|
||||||
echo "WARNING: $COMMIT_AUTHOR last committed."
|
echo "WARNING: $COMMIT_AUTHOR last committed."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "WARNING: No changes were detected."
|
echo "WARNING: No changes were detected."
|
||||||
fi
|
fi
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
52
.github/workflows/close-inactive-issues_ci.yml
vendored
52
.github/workflows/close-inactive-issues_ci.yml
vendored
@@ -1,31 +1,31 @@
|
|||||||
name: Close Inactive Issues & Pull Requests
|
name: Close Inactive Issues & Pull Requests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "30 1 * * *"
|
- cron: "30 1 * * *"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
close-issues:
|
close-issues:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v9.0.0
|
- uses: actions/stale@v9.0.0
|
||||||
with:
|
with:
|
||||||
days-before-issue-stale: 30
|
days-before-issue-stale: 30
|
||||||
days-before-issue-close: 14
|
days-before-issue-close: 14
|
||||||
stale-issue-label: "Status: Stale"
|
stale-issue-label: "Status: Stale"
|
||||||
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
|
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
|
||||||
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
|
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
|
||||||
exempt-issue-labels: "Status: Help wanted, Status: Work In Progress, Status: Waiting For a Response, Status: Todo"
|
exempt-issue-labels: "Status: Help wanted, Status: Work In Progress, Status: Waiting For a Response, Status: Todo"
|
||||||
days-before-pr-stale: 90
|
days-before-pr-stale: 90
|
||||||
days-before-pr-close: 30
|
days-before-pr-close: 30
|
||||||
close-issue-reason: "not_planned"
|
close-issue-reason: "not_planned"
|
||||||
stale-pr-label: "Status: Stale"
|
stale-pr-label: "Status: Stale"
|
||||||
close-pr-label: "Status: Stale"
|
close-pr-label: "Status: Stale"
|
||||||
stale-pr-message: "This pull request is stale because it has been open for 30 days with no activity."
|
stale-pr-message: "This pull request is stale because it has been open for 30 days with no activity."
|
||||||
close-pr-message: "This pull request was closed because it has been inactive for 14 days since being marked as stale."
|
close-pr-message: "This pull request was closed because it has been inactive for 14 days since being marked as stale."
|
||||||
exempt-pr-labels: "Status: Help wanted, Status: Work In Progress, Status: Waiting For a Response, Status: Todo"
|
exempt-pr-labels: "Status: Help wanted, Status: Work In Progress, Status: Waiting For a Response, Status: Todo"
|
||||||
repo-token: ${{ secrets.GIT_BOT_TOKEN }}
|
repo-token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||||
|
|||||||
22
.github/workflows/delete-unused-caches_ci.yml
vendored
22
.github/workflows/delete-unused-caches_ci.yml
vendored
@@ -1,16 +1,16 @@
|
|||||||
name: Delete Unused Caches
|
name: Delete Unused Caches
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "30 1 * * *"
|
- cron: "30 1 * * *"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
delete:
|
delete:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
# Do other steps like checkout, install, compile, etc.
|
# Do other steps like checkout, install, compile, etc.
|
||||||
- uses: MyAlbum/purge-cache@v2.1.0
|
- uses: MyAlbum/purge-cache@v2.1.0
|
||||||
with:
|
with:
|
||||||
max-age: 1800 # Cache max 7 days since last use (this is the default)
|
max-age: 1800 # Cache max 7 days since last use (this is the default)
|
||||||
debug: true # Set to true to output debug info
|
debug: true # Set to true to output debug info
|
||||||
|
|||||||
@@ -2,23 +2,23 @@ name: GitHub Actions Version Updater
|
|||||||
|
|
||||||
# Controls when the action will run.
|
# Controls when the action will run.
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
# Automatically run on every Sunday
|
# Automatically run on every Sunday
|
||||||
- cron: '0 0 * * 0'
|
- cron: "0 0 * * 0"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4.1.7
|
||||||
with:
|
with:
|
||||||
# [Required] Access token with `workflow` scope.
|
# [Required] Access token with `workflow` scope.
|
||||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||||
|
|
||||||
- name: Run GitHub Actions Version Updater
|
- name: Run GitHub Actions Version Updater
|
||||||
uses: saadmk11/github-actions-version-updater@v0.8.1
|
uses: saadmk11/github-actions-version-updater@v0.8.1
|
||||||
with:
|
with:
|
||||||
# [Required] Access token with `workflow` scope.
|
# [Required] Access token with `workflow` scope.
|
||||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||||
|
|||||||
11
.github/workflows/nightly-release.yml
vendored
11
.github/workflows/nightly-release.yml
vendored
@@ -26,15 +26,6 @@ jobs:
|
|||||||
"https://api.github.com/repos/${GITHUB_REPOSITORY}/releases/${release_id}"
|
"https://api.github.com/repos/${GITHUB_REPOSITORY}/releases/${release_id}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Create new release
|
|
||||||
uses: actions/create-release@v1.1.4
|
|
||||||
with:
|
|
||||||
tag_name: nightly
|
|
||||||
release_name: Nightly Build
|
|
||||||
draft: false
|
|
||||||
prerelease: true
|
|
||||||
body: "This is a Nightly build"
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build, Sign & Release
|
name: Build, Sign & Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -93,6 +84,7 @@ jobs:
|
|||||||
body: "This is a nightly build."
|
body: "This is a nightly build."
|
||||||
prerelease: true
|
prerelease: true
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
draft: false
|
||||||
|
|
||||||
- name: Sign APK - WithoutInternet
|
- name: Sign APK - WithoutInternet
|
||||||
uses: ilharp/sign-android-release@v1.0.4
|
uses: ilharp/sign-android-release@v1.0.4
|
||||||
@@ -117,3 +109,4 @@ jobs:
|
|||||||
body: "This is a nightly build."
|
body: "This is a nightly build."
|
||||||
prerelease: true
|
prerelease: true
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
draft: false
|
||||||
|
|||||||
36
.github/workflows/thank-you-issue_ci.yml
vendored
36
.github/workflows/thank-you-issue_ci.yml
vendored
@@ -1,24 +1,24 @@
|
|||||||
name: Thank New Reporters
|
name: Thank New Reporters
|
||||||
|
|
||||||
on:
|
on:
|
||||||
issues:
|
issues:
|
||||||
types:
|
types:
|
||||||
- reopened
|
- reopened
|
||||||
- opened
|
- opened
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
comment:
|
comment:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/github-script@v7.0.1
|
- uses: actions/github-script@v7.0.1
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GIT_BOT_TOKEN }}
|
github-token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
github.rest.issues.createComment({
|
github.rest.issues.createComment({
|
||||||
issue_number: context.issue.number,
|
issue_number: context.issue.number,
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
body: `👋 Thanks for reporting!
|
body: `👋 Thanks for reporting!
|
||||||
|
|
||||||
We will get back to you soon about this issue.`
|
We will get back to you soon about this issue.`
|
||||||
})
|
})
|
||||||
|
|||||||
30
.github/workflows/validate-gradle-wrapper.yml
vendored
30
.github/workflows/validate-gradle-wrapper.yml
vendored
@@ -1,20 +1,20 @@
|
|||||||
name: Validate Gradle Wrapper
|
name: Validate Gradle Wrapper
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- '*'
|
- "*"
|
||||||
- '!translate_main'
|
- "!translate_main"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- "main"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
validation:
|
validation:
|
||||||
name: Validation
|
name: Validation
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.7
|
- uses: actions/checkout@v4.1.7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- uses: gradle/wrapper-validation-action@v3.4.2
|
- uses: gradle/wrapper-validation-action@v3.4.2
|
||||||
|
|||||||
Reference in New Issue
Block a user