Skip to content

Commit

Permalink
using-functions-in-expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalankit committed Feb 11, 2020
1 parent d915205 commit 52e546e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ name: Context
on: push

jobs:
functions:
runs-on: ubuntu-16.04
steps:
- name: dump
run |
echo ${{ contains( 'hello', '11' ) }}
echo ${{ startsWith( 'hello', 'he' ) }}
echo ${{ endsWith( 'hello', '1o' ) }}
echo ${{ format( 'Hello {0} {1} {2}', 'World' '!', '!' ) }}

one:
runs-on: ubuntu-16.04
steps:
Expand Down

0 comments on commit 52e546e

Please sign in to comment.