Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Commit

Permalink
Update example versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakari Mursu committed Sep 30, 2020
1 parent 5858f1c commit 2b15253
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ jobs:
run: touch uncommitted.tmp
- name: Check for uncommitted changes
id: check-changes
uses: mskri/[email protected].0
uses: mskri/[email protected].1
- name: Evaluate if there are changes
if: steps.check-changes.outputs.outcome == failure()
run: echo "There are uncommitted changes"
```
Check uncommitted changes and print them out
```yaml
name: Check uncommitted changes and print them out
jobs:
Expand All @@ -42,7 +44,7 @@ jobs:
run: touch uncommitted.tmp
- name: Check for uncommitted changes
id: check-changes
uses: mskri/[email protected].0
uses: mskri/[email protected].1
- name: Print uncommitted changes
if: steps.check-changes.outputs.changes != ''
run: echo "There are uncommitted changes"
Expand Down

0 comments on commit 2b15253

Please sign in to comment.