edge-connect-delete-action/action.yaml

42 lines
1.2 KiB
YAML
Raw Normal View History

name: 'Edge Connect Delete'
description: 'Deletes an Edge Connect application using the edge-connect-client'
2025-10-02 14:07:01 +02:00
author: 'DevFW'
inputs:
configFile:
description: 'Path to the Edge Connect configuration file.'
2025-10-02 14:07:01 +02:00
required: true
dryRun:
description: 'Perform a dry run of the deletion.'
required: false
default: 'false'
2025-10-02 14:07:01 +02:00
version:
description: 'The version of the edge-connect-client to use.'
required: false
default: 'v2.0.1'
2025-10-02 14:07:01 +02:00
baseUrl:
description: 'The base URL of the Edge Connect API.'
required: true
username:
description: 'The username for the Edge Connect API.'
required: true
password:
description: 'The password for the Edge Connect API.'
required: true
2025-10-02 14:07:01 +02:00
runs:
using: 'composite'
steps:
- name: 'Download and run edge-connect-client'
run: |
${{ github.action_path }}/endpoint.sh
shell: bash
env:
INPUT_CONFIG_FILE: ${{ inputs.configFile }}
INPUT_DRY_RUN: ${{ inputs.dryRun }}
2025-10-02 14:07:01 +02:00
INPUT_VERSION: ${{ inputs.version }}
EDGE_CONNECT_BASE_URL: ${{ inputs.baseUrl }}
EDGE_CONNECT_USERNAME: ${{ inputs.username }}
EDGE_CONNECT_PASSWORD: ${{ inputs.password }}