File tree Expand file tree Collapse file tree 2 files changed +17
-11
lines changed Expand file tree Collapse file tree 2 files changed +17
-11
lines changed Original file line number Diff line number Diff line change 1
1
# Regex on Repo
2
- Or simply ` ror ` is a github action that does that.
3
2
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.
5
4
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
7
13
8
14
### Example usage
9
15
@@ -18,15 +24,15 @@ jobs:
18
24
runs-on : ubuntu-latest
19
25
20
26
steps :
21
- - name : Regex On Repo
27
+ - name : Multiplatform Regex
22
28
id : regex
23
- uses : tilation/regex-on-repo@ver # replace ver with version number
29
+ uses : tilation/regex-on-repo
24
30
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 '
27
33
token : ${{ secrets.GITHUB_TOKEN }}
28
34
regex : ' `([^`\W]+)`'
29
- file : ' README.MD '
35
+ file : ' README.md '
30
36
debug : true
31
37
` ` `
32
38
Original file line number Diff line number Diff line change 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 !'
3
3
branding :
4
4
icon : book
5
5
color : green
50
50
run : |
51
51
dotnet restore
52
52
dotnet build
53
- dotnet run
53
+ dotnet run
You can’t perform that action at this time.
0 commit comments