Skip to content

Commit af56eee

Browse files
authored
Merge pull request #4 from Tilation/development
not much
2 parents ab085aa + 99d1a2d commit af56eee

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
# Regex on Repo
2-
Or simply `ror` is a github action that does that.
32

4-
This action works on: `ubuntu`, `windows` and `macos`
3+
Or simply `ror` is a github action that does regex, on files on a cloud repository without doing a git checkout.
54

6-
However running under `windows` takes 1 minute longer due the nature of the Windows Server operating system. (1 minute and 57 seconds)
5+
[![Multiplatform Test](https://github.com/Tilation/regex-on-repo/actions/workflows/main.yml/badge.svg)](https://github.com/Tilation/regex-on-repo/actions/workflows/main.yml)
6+
7+
8+
Runner OS | Notes
9+
---|---
10+
`ubuntu` | Working fine
11+
`macos` | Working fine
12+
`windows` | Takes 1 minute longer, still fine
713

814
### Example usage
915

@@ -18,15 +24,15 @@ jobs:
1824
runs-on: ubuntu-latest
1925

2026
steps:
21-
- name: Regex On Repo
27+
- name: Multiplatform Regex
2228
id: regex
23-
uses: tilation/regex-on-repo@ver # replace ver with version number
29+
uses: tilation/regex-on-repo
2430
with:
25-
github: 'tilation/regex-on-repo' # can use ${{ github.repository }}
26-
ref: 'main' # can use ${{ github.ref }}
31+
github: ${{ github.repository }}
32+
ref: 'development'
2733
token: ${{ secrets.GITHUB_TOKEN }}
2834
regex: '`([^`\W]+)`'
29-
file: 'README.MD'
35+
file: 'README.md'
3036
debug: true
3137
```
3238

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: 'Regex on Repo'
2-
description: 'Runs regex on repositories, on the cloud!'
1+
name: 'Multiplatform Regex'
2+
description: 'Runs regex on repositories, without doing the lengthy checkout!'
33
branding:
44
icon: book
55
color: green
@@ -50,4 +50,4 @@ runs:
5050
run: |
5151
dotnet restore
5252
dotnet build
53-
dotnet run
53+
dotnet run

0 commit comments

Comments
 (0)