i'm new to github and was making a python kivy app, it's just a basic calculator program. In .github/workflows/build.yml i pasted this:
name: Build
on:
push:
jobs:
# Build job. Builds app for Android with Buildozer
build-android:
name: Build for Android
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build with Buildozer
uses: ArtemSBulgakov/buildozer-action@v1
id: buildozer
with:
workdir: <specify the directory of the app no don't mention this the app files are in root directory>
buildozer_version: stable
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: package
path: ${{ steps.buildozer.outputs.filename }}
In very small tests it worked just fine (4 times) but this time it says "Failure: no jobs were run"
Can explain why it happens?
Your build-android
job is at the same level that the jobs
field, therefore it isn't recognized as part of the jobs list.
You can see it directly on Github if you try to edit the file on the GUI, it will return that the jobs
field can't be null (because the interpreter didn't find any value in it).
After correcting it, I observed the workflow was running, but your action seems to have an issue with the pip version
(as you can see here). Resolving this other problem will probably let you run the workflow as expected.