Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif committed May 21, 2024
1 parent d28f965 commit d99f8d4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/sample-reusable-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ on:
name:
description: Your name
required: false
default: "Octocat"
default: "<name>"
type: string

jobs:
greetings:
name: Greet the user 👋
runs-on: ubuntu-latest
if: >
inputs.name != 'Octocat'
steps:
- name: Setup R 🔧
uses: r-lib/actions/setup-r@v2
Expand All @@ -33,5 +35,5 @@ jobs:
if: >
!contains(inputs.name, 'R') && !contains(inputs.name, 'r')
run: |
cat("Your name (${{ inputs.name }}) doesn't contains the letter 'R'. That's great!")
cat("Your name (${{ inputs.name }}) doesn't contain the letter 'R'. That's great!")
shell: Rscript {0}

0 comments on commit d99f8d4

Please sign in to comment.