Open DominusExult opened 9 months ago
Please see the definition of releaseDir
option in README:
Optional. The relative directory path in your project where your Android release file will be located. Defaults to app/build/outputs/apk/release.
releaseDir
is the relative directory path of your release folder in your project. Never use absolute paths like /home/runner/work
in GitHub Actions. GitHub Actions does not provide stability guarantees regarding absolute paths and may subject to change at any time.
Ouch, seems I'm running into a problem now.
We are building outside of the project (to avoid running into other problems) and your action doesn't like relative paths with .
or ..
.
I had
releaseDir: ./../build/android/app/build/outputs/apk/release
which resulted in
Error: AssertionError [ERR_ASSERTION]: Invalid pattern './../build/android/app/build/outputs/apk/release/**/*.apk'. Relative pathing '.' and '..' is not allowed.
I see. Building outside the project directory seems reasonable. I'll modify the resolve logic of releaseDir
later to support absolute path.
thank you! If everything fails, I can also try building in an extra subfolder of our source. Haven't done that yet.
I've run into trouble with this.
Using this action in https://github.com/exult/exult/blob/master/.github/workflows/snapshots-android.yml#L80 and then renaming & copying the apk to another folder:
The output of the signing action:
But the "Save release artifact" action has this:
Why does it add
/home/runner/work/exult/exult
in front of the path?