Skip to content

Export Workspace as Dynamic Plugins Packages #13

Export Workspace as Dynamic Plugins Packages

Export Workspace as Dynamic Plugins Packages #13

name: Export Workspace as Dynamic Plugins Packages
on:
workflow_dispatch:
inputs:
node-version:
description: node-version to execute the export
required: false
type: choice
default: '20.x'
options:
- '18.x'
- '20.x'
janus-cli-version:
description: Version of the janus-idp/cli package.
type: string
required: false
default: '^1.18.0'
upload-project-on-error:
description: Upload the complete project as a workflow artifact in case of error in order to troubleshoot.
required: false
type: boolean
default: false
plugins-repo:
description: Target Community Plugins repository to export plugins from
type: string
required: false
default: 'backstage/community-plugins'
overlay-branch:
description: Branch of the overlay structure (current branch by default).
type: string
required: false
default: ''
push:
tags:
- "v*.*.*"
pull_request:
branches:
- 'releases/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
parent_export:
uses: davidfestal/rhdh-plugin-export-utils/.github/workflows/export-workspaces-as-dynamic.yaml@dont-move-to-root

Check failure on line 52 in .github/workflows/export-workspaces-as-dynamic.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/export-workspaces-as-dynamic.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/export-workspaces-as-dynamic.yaml" -> "davidfestal/rhdh-plugin-export-utils/.github/workflows/export-workspaces-as-dynamic.yaml@dont-move-to-root" (source branch with sha:5ef34af663e6f77c7a6f291697b9559a97c39ff6) --> "./.github/workflows/export-dynamic.yaml" (source branch with sha:5ef34af663e6f77c7a6f291697b9559a97c39ff6) : the `uses' attribute must be a path, a Docker image, or owner/repo@ref
with:
node-version: ${{ inputs.node-version }}
janus-cli-version: ${{ inputs.janus-cli-version }}
plugins-repo: ${{ inputs.plugins-repo }}
upload-project-on-error: ${{ inputs.upload-project-on-error == 'true' }}
overlay-branch: ${{ inputs.overlay-branch }}
permissions:
contents: write