This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

tools.hermes-voice: one GitHub release per Android build

+5 -9
+5 -9
.github/workflows/assist-android.yml
··· 1 1 name: assist-android 2 2 3 3 # Builds the Android wrapper of the voice page (packages.hermes-voice-android), 4 - # signs it and publishes it as assist.apk of the rolling release 5 - # assist-android: 6 - # https://github.com/lassulus/superconfig/releases/download/assist-android/assist.apk 4 + # signs it and publishes it as assist.apk of a new release 5 + # assist-android-v<run number>, so Obtainium sees every build. 6 + # Stable URL: https://github.com/lassulus/superconfig/releases/latest/download/assist.apk 7 7 # 8 8 # versionCode is the run number, so every published APK installs over the 9 9 # previous one; versionName is the short commit. ··· 69 69 GH_TOKEN: ${{ github.token }} 70 70 run: | 71 71 notes="Built from $GITHUB_SHA by $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID (versionCode $GITHUB_RUN_NUMBER)." 72 - if gh release view assist-android >/dev/null 2>&1; then 73 - gh release edit assist-android --notes "$notes" 74 - else 75 - gh release create assist-android --title "Assist (Android)" --target "$GITHUB_SHA" --latest=false --notes "$notes" 76 - fi 77 - gh release upload assist-android "$RUNNER_TEMP/assist.apk" --clobber 72 + gh release create "assist-android-v$GITHUB_RUN_NUMBER" "$RUNNER_TEMP/assist.apk" \ 73 + --title "Assist v$GITHUB_RUN_NUMBER" --target "$GITHUB_SHA" --latest --notes "$notes" 78 74 79 75 - if: always() 80 76 run: rm -f "$RUNNER_TEMP/keystore" "$RUNNER_TEMP/password"