|
170 | 170 | run: | |
171 | 171 | node utils/storage_manager.mjs y |
172 | 172 | npm run build paid dev apk |
173 | | - mv platforms/android/app/build/outputs/apk/debug/app-debug.apk platforms/android/app/build/outputs/apk/debug/app-debug-normal.apk |
| 173 | + mv platforms/android/app/build/outputs/apk/debug/app-debug.apk /tmp/app-debug-normal.apk |
174 | 174 | echo "VERSION: $UPDATED_VERSION" >> $GITHUB_STEP_SUMMARY |
175 | 175 | |
176 | 176 | - name: Upload APK Artifact |
177 | 177 | uses: actions/upload-artifact@v4 |
178 | 178 | with: |
179 | 179 | name: app-debug-${{ env.GIT_COMMIT }} |
180 | | - path: platforms/android/app/build/outputs/apk/debug/app-debug-normal.apk |
| 180 | + path: /tmp/app-debug-normal.apk |
181 | 181 |
|
182 | 182 | - name: Run npm build paid dev apk fdroid (for F-Droid) |
183 | 183 | if: ${{ !inputs.is_PR }} |
184 | 184 | run: | |
185 | 185 | node utils/storage_manager.mjs y |
186 | 186 | npm run build paid dev apk fdroid |
187 | | - mv platforms/android/app/build/outputs/apk/debug/app-debug.apk platforms/android/app/build/outputs/apk/debug/app-debug-fdroid.apk |
| 187 | + mv platforms/android/app/build/outputs/apk/debug/app-debug.apk /tmp/app-debug-fdroid.apk |
188 | 188 | |
189 | 189 | - name: Upload APK Artifact |
190 | 190 | uses: actions/upload-artifact@v4 |
191 | 191 | if: ${{ !inputs.is_PR }} |
192 | 192 | with: |
193 | 193 | name: app-debug-fdroid-${{ env.GIT_COMMIT }} |
194 | | - path: platforms/android/app/build/outputs/apk/debug/app-debug-fdroid.apk |
| 194 | + path: /tmp/app-debug-fdroid.apk |
195 | 195 |
|
196 | 196 | - name: remove keystore and build.json |
197 | 197 | run: | |
|
226 | 226 | - name: Release Nightly Version |
227 | 227 | # Only run this step, if not called from another workflow. And a previous step is successful with releasedRequired=true |
228 | 228 | id: release |
229 | | - if: ${{ ! inputs.skip_tagging_and_releases && success() && env.releaseRequired == 'true' }} |
| 229 | + if: ${{ ! inputs.skip_tagging_and_releases && success() && env.releaseRequired == 'true' && !inputs.is_PR }} |
230 | 230 | uses: softprops/action-gh-release@v2 |
231 | 231 | with: |
232 | 232 | prerelease: true |
233 | 233 | name: ${{ env.UPDATED_VERSION }} |
234 | 234 | tag_name: ${{ env.UPDATED_VERSION }} |
235 | 235 | files: | |
236 | | - platforms/android/app/build/outputs/apk/debug/app-debug-normal.apk |
237 | | - platforms/android/app/build/outputs/apk/debug/app-debug-fdroid.apk |
| 236 | + /tmp/app-debug-normal.apk |
| 237 | + /tmp/app-debug-fdroid.apk |
238 | 238 | body: | |
239 | 239 | Automated Nightly (pre-release) Releases for Today |
240 | 240 | |
|
0 commit comments