get-ca-cert/action.yml

33 lines
851 B
YAML
Raw Normal View History

2024-08-25 15:34:25 +00:00
name: 'Action-template'
description: 'Github action template'
branding:
icon: file
color: orange
inputs:
sample-input:
description: 'input example'
default: 'default-value'
required: false
runs:
using: "composite"
steps:
- name: Set GitHub Path example
run: echo "$GITHUB_ACTION_PATH" >> $GITHUB_PATH
shell: bash
env:
GITHUB_ACTION_PATH: ${{ github.action_path }}
- name: Set Github secret output result example
id: sets-a-secret
shell: bash
run: |
the_secret=$((RANDOM))
echo "::add-mask::$the_secret"
echo "secret-number=$the_secret" >> "$GITHUB_OUTPUT"
- name: Set Github output result example
id: sets-output
shell: bash
run: |
output_number=$((RANDOM))
echo "output-number=$output_number" >> "$GITHUB_OUTPUT"