Skip to content

test: add workflow tests for GitHub Actions#8

Merged
stslex merged 4 commits intomasterfrom
dev
Sep 9, 2025
Merged

test: add workflow tests for GitHub Actions#8
stslex merged 4 commits intomasterfrom
dev

Conversation

@stslex
Copy link
Copy Markdown
Owner

@stslex stslex commented Sep 9, 2025

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Sep 9, 2025

Test Results

31 tests  ±0   31 ✅ ±0   14s ⏱️ -1s
 3 suites ±0    0 💤 ±0 
 3 files   ±0    0 ❌ ±0 

Results for commit b06618b. ± Comparison against base commit 4506f41.

♻️ This comment has been updated with latest results.

@stslex stslex force-pushed the dev branch 2 times, most recently from 1b015e9 to 800ad75 Compare September 9, 2025 16:39
This commit introduces several improvements to the versioning and deployment workflows:

- Updates the `update_versions.sh` script to use `awk` for precise 2-decimal incrementing of `versionName`.
- Modifies `android_deploy_prod.yml` and `android_deploy_beta.yml`:
    - Sets `fetch-depth: 0` for checkout to ensure full history for changelog generation.
    - Explicitly uses `bash` to run `generate_changelog.sh`.
    - Commits all changes (`git add .` and `git commit -a`) instead of just `fastlane/metadata/android`.
    - Adds `|| echo "No changes to commit"` to prevent commit failures if there are no changes.
- Enhances `version_updater.yml`:
    - Adds `workflow_dispatch` inputs for `channel` (beta/release) and `bump` (true/false) to control version bumping.
    - Sets `fetch-depth: 0` for checkout.
    - Conditionally runs `update_versions.sh` based on the `bump` input.
    - Sets `TAG_PREFIX` dynamically based on the `channel` input.
    - Commits all changes and includes channel information in the commit message.
- Refines `github_release_apk.yml`:
    - Updates the `tag_name` input description.
    - Changes the push tag trigger from `v*` and `beta-*` to `release-*`.
    - Explicitly uses `bash` to run `generate_changelog.sh` and sets `TAG_PREFIX` to `release-`.
    - Improves release tag derivation logic, ensuring a tag is always generated and defaults to `release-<commit_sha_short>` if needed.
    - Sets `target_commitish` to `github.sha` for the GitHub release.
@stslex stslex merged commit cd644e9 into master Sep 9, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant