shaunlwm / action-release-debugapk Goto Github PK
View Code? Open in Web Editor NEW๐ท Build and release debug APK from your Android project
๐ท Build and release debug APK from your Android project
with messages like:
Observed package id 'ndk;21.4.7075529' in inconsistent location '/usr/local/lib/android/sdk/ndk-bundle' (Expected '/usr/local/lib/android/sdk/ndk/21.4.7075529')
and
No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
ref: https://github.com/ildar/OpenBikeSharing/actions/runs/787885535
Here my yml file
name: Build & Publish Debug APK
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Publish Debug APK
uses: ShaunLWM/action-release-debugapk@master
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
APP_FOLDER: pre-release
RELEASE_TITLE: "New Build"
and here my error message
Switched to a new branch 'master'
Branch 'master' set up to track remote branch 'master' from 'origin'.
Attaching release asset `./pre-release/build/outputs/apk/debug/app-debug.apk'...
Error uploading release asset: stat ./pre-release/build/outputs/apk/debug/app-debug.apk: no such file or directory
##[error]Docker run failed with exit code 1
Hi @ShaunLWM,
I have an issue when I run the github action. I've got this error:
Run ShaunLWM/action-release-debugapk@master
with:
env:
JAVA_HOME_8.0.272_x64: /opt/hostedtoolcache/jdk/8.0.272/x64
JAVA_HOME: /opt/hostedtoolcache/jdk/8.0.272/x64
JAVA_HOME_8_0_272_X64: /opt/hostedtoolcache/jdk/8.0.272/x64
GITHUB_TOKEN: ***
APP_FOLDER: droid/nordic-data-collector
RELEASE_TITLE: rc-build
/usr/bin/docker run --name e5c3557f9568ecb60412383f8d9a3d6530bf1_5898d4 --label 1e5c35 --workdir /github/workspace --rm -e JAVA_HOME_8.0.272_x64 -e JAVA_HOME -e JAVA_HOME_8_0_272_X64 -e GITHUB_TOKEN -e APP_FOLDER -e RELEASE_TITLE -e INPUT_GITHUB_TOKEN -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/inde-camera-and-nordic/inde-camera-and-nordic":"/github/workspace" 1e5c35:57f9568ecb60412383f8d9a3d6530bf1
error: pathspec 'master' did not match any file(s) known to git
Attaching release asset `./droid/nordic-data-collector/build/outputs/apk/debug/*-debug.apk'...
Error uploading release asset: stat ./droid/nordic-data-collector/build/outputs/apk/debug/*-debug.apk: no such file or directory
How I could fix?
When using Gradle's Kotlin DSL for the build file the versionName is not recognized which results in a release string "${RELEASE_TITLE} - v".
The script should also consider build.gradle.kts files to retrieve the versionName.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.