ankidroid / ankidroid/Anki-Android

Fix amazon release build from github actions

Open
#14,161 3 comments 0 reactions 0 assignees View on GitHub
Bug Dev Keep Open Needs Triage Release process
Dominant language
Kotlin
Stars
11.8k
Forks
2.9k
Avg merge
2d 3h
Merged PRs (30d)
171

Description

### Checked for duplicates?

- [X] This issue is not a duplicate

### What are the steps to reproduce this bug?

Run publish release workflow with "public" release specified
This should trigger the amazon release (or an attempt to release to amazon...)

### Expected behaviour

Successful release

### Actual behaviour

```

Running 'publishToAmazonAppStore' gradle target
Starting a Gradle Daemon, 4 stopped Daemons could not be reused, use --status for details

> Configure project :
CI build detected: setting compiler execution strategy to IN_PROCESS

> Task :AnkiDroid:publishToAmazonAppStore
️🔒 Authenticating...
️↕️️ Deleting edit...
⬅️ Remove APKs from previous edit...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':AnkiDroid:publishToAmazonAppStore'.
> ❌ Failed to delete existing APK

```

### Debug info

```text
https://github.com/ankidroid/Anki-Android/actions/runs/5676011762/job/15382106501#step:10:605
```

### (Optional) Anything else you want to share?

Probably need to sort this out manually a few times, but amazon is a lower priority than getting play store + github releases working, and then F-Droid full builds

### Research

- [X] I am reporting a bug specific to AnkiDroid (Android app)
- [X] I have checked the [manual](https://ankidroid.org/docs/manual.html) and the [FAQ](https://github.com/ankidroid/Anki-Android/wiki/FAQ) and could not find a solution to my issue
- [X] (Optional) I have confirmed the issue is not resolved in the latest alpha release ([instructions](https://docs.ankidroid.org/manual.html#betaTesting))

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.