Skip to content

fix: upgrade @oclif/plugin-not-found from 2.3.16 to 2.4.3 #69

fix: upgrade @oclif/plugin-not-found from 2.3.16 to 2.4.3

fix: upgrade @oclif/plugin-not-found from 2.3.16 to 2.4.3 #69

name: Create CLI Release

Check failure on line 1 in .github/workflows/create-cli-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/create-cli-release.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: check-for-moratorium
on:
workflow_dispatch:
inputs:
isStableCandidate:
type: boolean
description: Is this a stable/prod candidate?
required: true
default: false
workflow_call:
inputs:
isStableCandidate:
type: boolean
description: Is this a stable/prod candidate?
required: true
default: false
jobs:
check-for-moratorium:
if: fromJSON(inputs.isStableCandidate)
run: ./scripts/release/tps_check_lock cli ${{ github.sha }}
environment: ChangeManagement
env:
TPS_API_TOKEN: ${{ secrets.TPS_API_TOKEN_PARAM }}
get-version-channel:
runs-on: ubuntu-latest
outputs:
channel: ${{ steps.getVersion.outputs.channel }}
version: ${{ steps.getVersion.outputs.version }}
# final check to ensure package.json doesn't have a dist tag, ex: '-beta'
isStableRelease: ${{ fromJSON(inputs.isStableCandidate) && !steps.getVersion.outputs.channel }}
steps:
- uses: actions/checkout@v3
- id: getVersion
uses: ./.github/actions/get-version-and-channel/
with:
path: './packages/cli/package.json'
publish-npm:
needs: [get-version-channel]
# if NOT isStableCandidate confirm dist tag is in package.json version
if: fromJSON(needs.get-version-channel.outputs.isStableRelease) || (!fromJSON(inputs.isStableCandidate) && !!needs.get-version-channel.outputs.channel)
uses: ./.github/workflows/publish-npm.yml
with:
isStableRelease: ${{ fromJSON(needs.get-version-channel.outputs.isStableRelease) }}
channel: ${{ needs.get-version-channel.outputs.channel }}
secrets: inherit
pack-upload:
needs: [ publish-npm ]
uses: ./.github/workflows/pack-upload.yml
secrets: inherit
promote:
needs: [get-version-channel, pack-upload]
if: needs.pack-upload.result == 'success'
uses: ./.github/workflows/promote-release.yml
with:
version: ${{ needs.get-version-channel.outputs.version }}
isStableRelease: ${{ fromJSON(needs.get-version-channel.outputs.isStableRelease) }}
channel: ${{ needs.get-version-channel.outputs.channel }}
secrets: inherit
publish-docs:
needs: [ get-version-channel, promote ]
uses: ./.github/workflows/devcenter-doc-update.yml
with:
isStableRelease: ${{ fromJSON(needs.get-version-channel.outputs.isStableRelease) }}
secrets: inherit