Skip to content

cli: fix generated CLI docs for pulumi/pulumi (#122) #28

cli: fix generated CLI docs for pulumi/pulumi (#122)

cli: fix generated CLI docs for pulumi/pulumi (#122) #28

name: Publish Release

Check failure on line 1 in .github/workflows/publish-release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-release.yaml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: dispatch
on:
push:
tags:
- v*.*.*
- '!v*.*.*-**'
env:
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
ESC_VERSION: ${{ github.ref_name }}
jobs:
lint:
uses: ./.github/workflows/stage-lint.yml
test:
uses: ./.github/workflows/stage-test.yml
with:
enable-coverage: true
secrets: inherit
publish:
needs: [test, lint]
uses: ./.github/workflows/stage-publish.yml
with:
goreleaser-args: -p 10 -f .goreleaser.yml --rm-dist --skip-validate --timeout 60m0s --release-notes=CHANGELOG_PENDING.md
secrets: inherit
s3-blobs:
needs: [publish]
name: s3 blobs
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
ref: ${ESC_VERSION}
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-region: us-east-2
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
role-duration-seconds: 3600
role-external-id: upload-pulumi-release
role-session-name: pulumi@githubActions
role-to-assume: ${{ secrets.AWS_UPLOAD_ROLE_ARN }}
- name: Download release artifacts
run: |
mkdir -p artifacts
gh release download "${ESC_VERSION}" --dir ./artifacts --pattern 'esc-*'
find artifacts
- name: Publish Blobs
run: |
aws s3 sync artifacts s3://get.pulumi.com/esc/releases --acl public-read
dispatch:
name: ${{ matrix.job.name }}
if: inputs.run-dispatch-commands && !contains(inputs.version, '-')
runs-on: ubuntu-latest
needs: [publish]
strategy:
fail-fast: false
matrix:
job:
- name: Dispatch docs workflow
run-command: pulumictl create cli-docs-build "${ESC_VERSION}" --event-type "esc-cli"