Skip to content

ci: fine-tune the build action a bit#1630

Merged
derklaro merged 1 commit into
nightlyfrom
fine-tune-build-action
May 22, 2025
Merged

ci: fine-tune the build action a bit#1630
derklaro merged 1 commit into
nightlyfrom
fine-tune-build-action

Conversation

@derklaro

Copy link
Copy Markdown
Member

Motivation

The build action needs some fine tuning and cleanup as it does not work as expected in some scenarios.

Modification

  1. Remove all references to the old github merge queue experiment, this is no longer needed and is annoying when reading the action.
  2. Replace deprecated junit_files input of the unit test publish action and always publish unit tests results. Comments on pull requests are now disabled unless the action is triggered by a pull request (to prevent duplicate comments for pushes and the pull request run).
  3. The updater metadata is now only published if the action is triggered by a push or workflow dispatch.
  4. Artifacts generated by the action are now always uploaded (there is no reason to not do it).

Result

The build action is easier to read and behaves more as expected.

@derklaro derklaro added this to the 4.0.0-RC12 milestone May 21, 2025
@derklaro derklaro requested a review from 0utplay May 21, 2025 21:58
@derklaro derklaro self-assigned this May 21, 2025
@derklaro derklaro added v: 4.X This pull should be included in the 4.0 release t: ci A pull request or issue regarding our ci setup (currently github actions) labels May 21, 2025
@github-actions

Copy link
Copy Markdown

Test Results

 50 files  ±0   50 suites  ±0   1m 22s ⏱️ -9s
446 tests ±0  446 ✅ ±0  0 💤 ±0  0 ❌ ±0 
777 runs  ±0  777 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit bc2b3e2. ± Comparison against base commit f63eba2.

@derklaro derklaro merged commit 10ccc52 into nightly May 22, 2025
6 checks passed
@derklaro derklaro deleted the fine-tune-build-action branch May 22, 2025 08:20
GiantTreeLP pushed a commit to GiantTreeLP/CloudNet that referenced this pull request Jun 7, 2025
### Motivation
The build action needs some fine tuning and cleanup as it does not work
as expected in some scenarios.

### Modification
1. Remove all references to the old github merge queue experiment, this
is no longer needed and is annoying when reading the action.
2. Replace deprecated `junit_files` input of the unit test publish
action and always publish unit tests results. Comments on pull requests
are now disabled unless the action is triggered by a pull request (to
prevent duplicate comments for pushes and the pull request run).
3. The updater metadata is now only published if the action is triggered
by a push or workflow dispatch.
4. Artifacts generated by the action are now always uploaded (there is
no reason to not do it).

### Result
The build action is easier to read and behaves more as expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t: ci A pull request or issue regarding our ci setup (currently github actions) v: 4.X This pull should be included in the 4.0 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants