diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 3e49e0f..bdba532 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -32,9 +32,12 @@ jobs: # this one. Keep caches shared, just don't attach to a daemon. GRADLE_OPTS: -Dorg.gradle.daemon=false run: | - cd app + # `devbox run` always executes relative to the devbox project root + # (where devbox.json lives), ignoring the shell's cwd at + # invocation — so the `cd app` has to happen inside the command + # devbox runs, not before it. env -u GITHUB_TOKEN -u GH_TOKEN -u JAVA_HOME \ - devbox run -- flutter build apk --release + devbox run -- bash -c 'cd app && flutter build apk --release' - name: Create release and upload APK env: