Test Action #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow that is manually triggered | |
# try to use as much shell scripting a possible | |
# actions appear from default branch - https://gh.neting.ccmunity/t/workflow-files-only-picked-up-from-master/16129/2 | |
name: Test Action | |
on: | |
workflow_dispatch: | |
# Inputs the workflow accepts. | |
inputs: | |
secret_key: | |
description: 'key to required secret' | |
default: '' | |
required: true | |
env: | |
SECRET_KEY: ${{ github.event.inputs.secret_key }} | |
jobs: | |
test-action: | |
name: Running Test Action | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Run commands | |
run: | | |
echo `node -v` | |
echo The Key ${{ secrets.CR_IMAGENAME }} |