๐Ÿ”— Redirect Bluesky links to your preferred client
3
fork

Configure Feed

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

feat: update android build

Turtlepaw 05cad9cf 19f98bb4

+18 -107
+18 -107
.github/workflows/build.yml
··· 29 29 id: release 30 30 uses: pozetroninc/github-action-get-latest-release@v0.8.0 31 31 with: 32 - owner: zacharee 33 - repo: MastodonRedirect 32 + owner: turtlepaw 33 + repo: BlueskyRedirect 34 34 token: ${{ secrets.GITHUB_TOKEN }} 35 35 excludes: "prerelease, draft" 36 36 ··· 43 43 path: | 44 44 ~/.gradle/caches 45 45 ~/.gradle/wrapper 46 - ${{ github.workspace }}/lemmyredirect/build 47 - ${{ github.workspace }}/mastodonredirect/build 48 - ${{ github.workspace }}/peertuberedirect/build 46 + ${{ github.workspace }}/app/build 49 47 ${{ github.workspace }}/shared/build 50 48 key: ${{ runner.os }}-gradle-android-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} 51 49 restore-keys: | 52 50 ${{ runner.os }}-gradle-android- 53 51 54 - - name: Build Lemmy Redirect 55 - run: | 56 - ./gradlew :lemmyredirect:packageRelease 57 - ./gradlew --stop 58 - 59 - - name: Build Mastodon Redirect 60 - run: | 61 - ./gradlew :mastodonredirect:packageRelease 62 - ./gradlew --stop 63 - 64 - - name: Build PeerTube Redirect 52 + - name: Build app 65 53 run: | 66 - ./gradlew :peertuberedirect:packageRelease 54 + ./gradlew :app:packageRelease 67 55 ./gradlew --stop 68 56 69 - - name: Upload Lemmy Redirect Logs 57 + - name: Upload app logs 70 58 if: ${{ always() }} 71 59 uses: actions/upload-artifact@v4 72 60 with: 73 - name: lemmyredirect_logs 74 - path: ${{ github.workspace }}/lemmydirect/build/outputs/logs/ 61 + name: app_logs 62 + path: ${{ github.workspace }}/app/build/outputs/logs/ 75 63 76 - - name: Upload Mastodon Redirect Logs 77 - if: ${{ always() }} 78 - uses: actions/upload-artifact@v4 79 - with: 80 - name: mastodonredirect_logs 81 - path: ${{ github.workspace }}/mastodonredirect/build/outputs/logs/ 64 + - name: Check app APKs exists 65 + run: ls -laR ${{ github.workspace }}/app/build/outputs/apk/ 82 66 83 - - name: Upload PeerTube Redirect Logs 84 - if: ${{ always() }} 85 - uses: actions/upload-artifact@v4 86 - with: 87 - name: peertuberedirect_logs 88 - path: ${{ github.workspace }}/peertuberedirect/build/outputs/logs/ 89 - 90 - - name: Check Lemmy Redirect Exists 91 - run: ls -laR ${{ github.workspace }}/lemmyredirect/build/outputs/apk/ 92 - 93 - - name: Check Mastodon Redirect Exists 94 - run: ls -laR ${{ github.workspace }}/mastodonredirect/build/outputs/apk/ 95 - 96 - - name: Check PeerTube Redirect Exists 97 - run: ls -laR ${{ github.workspace }}/peertuberedirect/build/outputs/apk/ 98 - 99 - - name: Sign Lemmy Redirect 100 - id: sign_lemmy_redirect 67 + - name: Sign APK 68 + id: sign_apk 101 69 uses: zacharee/zipalign-sign-android-release@2.0.0 102 70 with: 103 - releaseDirectory: lemmyredirect/build/outputs/apk/release 71 + releaseDirectory: app/build/outputs/apk/release 104 72 signingKeyBase64: ${{ secrets.ANDROID_SIGNING_KEY }} 105 73 alias: ${{ secrets.ANDROID_SIGNING_KEY_ALIAS }} 106 74 keyStorePassword: ${{ secrets.ANDROID_SIGNING_KEY_PWD }} ··· 108 76 env: 109 77 BUILD_TOOLS_VERSION: "35.0.0" 110 78 111 - - name: Sign Mastodon Redirect 112 - id: sign_mastodon_redirect 113 - uses: zacharee/zipalign-sign-android-release@2.0.0 114 - with: 115 - releaseDirectory: mastodonredirect/build/outputs/apk/release 116 - signingKeyBase64: ${{ secrets.ANDROID_SIGNING_KEY }} 117 - alias: ${{ secrets.ANDROID_SIGNING_KEY_ALIAS }} 118 - keyStorePassword: ${{ secrets.ANDROID_SIGNING_KEY_PWD }} 119 - keyPassword: ${{ secrets.ANDROID_SIGNING_KEY_PWD }} 120 - env: 121 - BUILD_TOOLS_VERSION: "35.0.0" 122 - 123 - - name: Sign PeerTube Redirect 124 - id: sign_peertube_redirect 125 - uses: zacharee/zipalign-sign-android-release@2.0.0 126 - with: 127 - releaseDirectory: peertuberedirect/build/outputs/apk/release 128 - signingKeyBase64: ${{ secrets.ANDROID_SIGNING_KEY }} 129 - alias: ${{ secrets.ANDROID_SIGNING_KEY_ALIAS }} 130 - keyStorePassword: ${{ secrets.ANDROID_SIGNING_KEY_PWD }} 131 - keyPassword: ${{ secrets.ANDROID_SIGNING_KEY_PWD }} 132 - env: 133 - BUILD_TOOLS_VERSION: "35.0.0" 134 - 135 - - name: Upload Lemmy Redirect 79 + - name: Upload APK 136 80 if: ${{ always() }} 137 81 uses: actions/upload-artifact@v4 138 82 with: 139 - name: Lemmy Redirect 140 - path: ${{ steps.sign_lemmy_redirect.outputs.signedReleaseFile }} 141 - 142 - - name: Upload Mastodon Redirect 143 - if: ${{ always() }} 144 - uses: actions/upload-artifact@v4 145 - with: 146 - name: Mastodon Redirect 147 - path: ${{ steps.sign_mastodon_redirect.outputs.signedReleaseFile }} 148 - 149 - - name: Upload PeerTube Redirect 150 - if: ${{ always() }} 151 - uses: actions/upload-artifact@v4 152 - with: 153 - name: PeerTube Redirect 154 - path: ${{ steps.sign_peertube_redirect.outputs.signedReleaseFile }} 83 + name: Signed APK 84 + path: ${{ steps.sign_apk.outputs.signedReleaseFile }} 155 85 156 - - name: Add Lemmy Redirect to Release 86 + - name: Add APK to Release 157 87 uses: ncipollo/release-action@v1 158 88 with: 159 - artifacts: ${{ github.workspace }}/${{ steps.sign_lemmy_redirect.outputs.signedReleaseFile }} 89 + artifacts: ${{ github.workspace }}/${{ steps.sign_apk.outputs.signedReleaseFile }} 160 90 token: ${{ secrets.GITHUB_TOKEN }} 161 91 allowUpdates: true 162 92 replacesArtifacts: false 163 93 omitBodyDuringUpdate: true 164 94 tag: ${{ steps.release.outputs.release }} 165 95 166 - - name: Add Mastodon Redirect to Release 167 - uses: ncipollo/release-action@v1 168 - with: 169 - artifacts: ${{ github.workspace }}/${{ steps.sign_mastodon_redirect.outputs.signedReleaseFile }} 170 - token: ${{ secrets.GITHUB_TOKEN }} 171 - allowUpdates: true 172 - replacesArtifacts: false 173 - omitBodyDuringUpdate: true 174 - tag: ${{ steps.release.outputs.release }} 175 - 176 - - name: Add PeerTube Redirect to Release 177 - uses: ncipollo/release-action@v1 178 - with: 179 - artifacts: ${{ github.workspace }}/${{ steps.sign_peertube_redirect.outputs.signedReleaseFile }} 180 - token: ${{ secrets.GITHUB_TOKEN }} 181 - allowUpdates: true 182 - replacesArtifacts: false 183 - omitBodyDuringUpdate: true 184 - tag: ${{ steps.release.outputs.release }}