fix(ci): pr apk version (#318)

This commit is contained in:
cl.st authored and GitHub committed 2026-07-30 18:01:36 +02:00
1 parent 1d5021c0be
commit d3d6741019
1 file changed
+10
+10
View File
@@ -15,6 +15,16 @@ jobs:
- name: Set VITE_CURRENT_VERSION
run: echo "VITE_CURRENT_VERSION=v0.0.0-testing" >> $GITHUB_ENV
- name: Set VERSION_CODE
# A timestamp keeps versionCode strictly increasing across PR builds so
# Android allows installing over an existing release without requiring
# an uninstall first (Android rejects installs with a lower versionCode).
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
echo "VERSION_CODE=$(date +%s)" >> $GITHUB_ENV
echo "VERSION_NAME=0.0.0-pr${PR_NUMBER}" >> $GITHUB_ENV
- uses: pnpm/action-setup@v4
name: Install pnpm
with: