googleapis / googleapis/release-please-action

Add manifest file attributes as action output(s)

Open
#865 2 comments 0 reactions 0 assignees View on GitHub
type: feature request
Dominant language
TypeScript
Stars
2.5k
Forks
327
PR merge metrics
No merged PRs in 30d

Description

### TL;DR

To help with using this workflow as an input to another job, I want to know some of the inputs on the way out, even if I'm using a manifest.
At a minimum, please output the `path`, which would correspond to the entry in `.release-please-manifest.json` that is involved in this release.

### Detailed design

My use-case is to use the `path` value to find an item in sfdx-project.json for Salesforce package development, and then to use values from that. If I have multiple packages being developed in one repo (our version of a monorepo) then each time RPAction runs, it should know which path in the manifest is being run, and should add that to its outputs.

The main goal here is to make an action that is analogous to uploading a package to npm, but for Salesforce. It will require adding a line to sfdx-project.json and editing some files, so I hope that any commit I make after RPAction but before that workflow finishes will be included in the same transaction.

### Additional information

I think this is a great tool, and I'm trying to standardize a way to make it easier to upload package versions for Salesforce - as easy as it is to make a new npm package version.

Some of my beginnings of my work are at https://github.com/dschach/packaging-action-test where I'm starting with a single-package repo and then will make a multi-package... which may require a pull-request on release-please, but I don't want to get ahead of myself.

Contributor guide

Open the contributing guide

Research direction

Trace how the action reads .release-please-manifest.json and how action outputs are declared and populated. Add the manifest entry path to the outputs, then verify it is available to a subsequent job for the package selected by the release.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd, release
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.