Skip to content

GHA package.yaml: Add explicit job name #1656

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

msgilligan
Copy link
Contributor

@msgilligan msgilligan commented Feb 25, 2025

  • Change job label from build to jpackage
  • Add a name attribute setting name with matrix.os

This matches the format of package-nix.yaml in PR #1648 to keep them similar assuming it is merged as is.

@craigraw
Copy link
Collaborator

While I acknowledge jpackage is doing most of the work here, I called it build because there are other Gradle build commands called, and build seemed a better term to encompass this.

Wrt the OS name, it appears Github adds this automatically if it's not explicitly set:

Screenshot 2025-02-26 at 10 04 53

I don't have problem with explicitly naming the job though. Can I suggest instead:

jobs:
  build:
    name: build (${{ matrix.os }})

* Add a `name` attribute setting job name with matrix.os

This matches the format of `nix-jpackage.yaml` in PR sparrowwallet#1648
to keep them similar assuming both PRs are merged as is.
@msgilligan msgilligan force-pushed the msgilligan/gha-package-minor-tweaks branch from 4673de4 to 36662e1 Compare February 26, 2025 21:22
@msgilligan msgilligan changed the title GHA package.yaml: Job label/name to 'jpackage' GHA package.yaml: Add explicit job name Feb 26, 2025
@msgilligan
Copy link
Contributor Author

Can I suggest instead...

@craigraw Done. Rebased and force-pushed.

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.

2 participants