mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
CICD: Fix GitHub Actions.
Fix the setting of environment variables in the android build. Also fix a typo in the AppImage build. Signed-off-by: Michael Keller <mikeller@042.ch>
This commit is contained in:
parent
53f6d1d606
commit
506a96f1f6
1 changed files with 4 additions and 4 deletions
8
.github/workflows/android.yml
vendored
8
.github/workflows/android.yml
vendored
|
@ -60,10 +60,10 @@ jobs:
|
|||
git config --global --add safe.directory $GITHUB_WORKSPACE/libdivecomputer
|
||||
# get the build number via curl so this works both for a pull request as well as a push
|
||||
BUILDNR=$(curl -q https://raw.githubusercontent.com/subsurface/nightly-builds/main/latest-subsurface-buildnumber)
|
||||
OUTPUT_DIR="$GITHUB_WORKSPACE"
|
||||
KEYSTORE_FILE="$KEYSTORE_FILE"
|
||||
KEYSTORE_PASSWORD="pass:${{ secrets.ANDROID_KEYSTORE_PASSWORD }}"
|
||||
KEYSTORE_ALIAS="${{ secrets.ANDROID_KEYSTORE_ALIAS }}"
|
||||
export OUTPUT_DIR="$GITHUB_WORKSPACE"
|
||||
export KEYSTORE_FILE="$KEYSTORE_FILE"
|
||||
export KEYSTORE_PASSWORD="pass:${{ secrets.ANDROID_KEYSTORE_PASSWORD }}"
|
||||
export KEYSTORE_ALIAS="${{ secrets.ANDROID_KEYSTORE_ALIAS }}"
|
||||
bash -x ./subsurface/packaging/android/qmake-build.sh -buildnr ${BUILDNR}
|
||||
|
||||
# only publish a 'release' on push events (those include merging a PR)
|
||||
|
|
Loading…
Reference in a new issue