Skip to content

Test Action

Test Action #5

Workflow file for this run

name: Test Action
on:
workflow_dispatch:
inputs:
api-key:
type: string
description: Cloud API key
required: true
app-id:
type: string
description: Cloud application ID
required: true
cn-env:
description: Cloud environment
default: qa
type: choice
options:
- qa
- production
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CN_API_KEY: ${{ inputs.api-key }}
CN_APP_ID: ${{ inputs.app-id }}
CN_ENV: ${{ inputs.cn-env }}
jobs:
draft:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: create draft release
uses: ./
id: draft
with:
command: release draft ${{ env.CN_APP_ID }} 0.1.0
api-key: ${{ env.CN_API_KEY }}
- name: echo outputs
run: echo '${{ steps.draft.outputs.stdout }}'