salesforcecli / github-workflows

reusable shared CI scripts
BSD 3-Clause "New" or "Revised" License
15 stars 8 forks source link

Replace flood-io/is-published-on-npm #82

Closed iowillhoit closed 11 months ago

iowillhoit commented 1 year ago

flood-io/is-published-on-npm is stale and uses the "soon to be deprecated" set-output format for setting values.

This PR replaces it with a simple bash script before it breaks.

Here is a similar shell script you can use for QA.

echo $RESPONSE

if [ "$RESPONSE" = "\"$VERSION\"" ]; then echo "published=true" else echo "published=false" fi


- `source npm-test.sh`
- Change `VERSION` to a published and non-published version

[@W-14488765@](https://gus.my.salesforce.com/apex/ADM_WorkLocator?bugorworknumber=W-14488765)
https://github.com/oclif/github-workflows/pull/6