Skip to content

Commit

Permalink
Update gen-ci-action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mfazekas authored Nov 30, 2023
1 parent 0b87b30 commit 6e2ee32
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/gen-ci-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Reuseable CI action
on:
workflow_call:
inputs:
environment:
env_name:
default: default
required: false
type: string
Expand All @@ -15,7 +15,7 @@ jobs:
build:
name: "Run CI test"
runs-on: ubuntu-latest
environment: ${{ inputs.environment }}
environment: ${{ inputs.env_name }}

steps:
- name: Checkout
Expand All @@ -26,6 +26,9 @@ jobs:
with:
ref: ${{ inputs.ref }}
if: ${{ inputs.ref != '' }}
- name: Test environent:
run:
echo "ENV name: ${{ inputs.env_name }}"
- name: Test README
run: cat README.md
- name: Test secret
Expand Down

0 comments on commit 6e2ee32

Please sign in to comment.