Skip to content

Commit

Permalink
Updated to the node16 runtime by default
Browse files Browse the repository at this point in the history
  • Loading branch information
andstor committed Oct 24, 2022
1 parent c492e43 commit ef72eba
Show file tree
Hide file tree
Showing 4 changed files with 1,789 additions and 1,152 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
![build-test](https://github.com/andstor/file-existence-action/workflows/build/badge.svg)

This is a GitHub Action to check for existence of files. It can be used for conditionally running workflow steps based on file(s) existence.
This is a GitHub Action to check for the existence of files. It can be used for conditionally running workflow steps based on file(s) existence.

## Usage

The following example [workflow step](https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow) will check for existence of the files: `package.json`, `LICENSE`, `README.md`, `foo` `bar`

```yml
- name: "Check file existence"
uses: andstor/file-existence-action@v1
uses: andstor/file-existence-action@v2
with:
files: "package.json, LICENSE, README.md, foo, *.txt"
```
Expand Down Expand Up @@ -43,11 +43,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Check file existence
id: check_files
uses: andstor/file-existence-action@v1
uses: andstor/file-existence-action@v2
with:
files: "package.json, LICENSE, README.md"
Expand Down
Loading

0 comments on commit ef72eba

Please sign in to comment.