File tree Expand file tree Collapse file tree 1 file changed +44
-1
lines changed Expand file tree Collapse file tree 1 file changed +44
-1
lines changed Original file line number Diff line number Diff line change 1
1
# cwl-upload-conformance-badges
2
- Action for uploading CWL conformance badges
2
+ It is a custom Github Action for uploading CWL conformance badges to specified repository.
3
+
4
+ ## Example
5
+
6
+ ``` yaml
7
+ jobs :
8
+ conformance :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ ...
12
+
13
+ - name : Run conformance tests
14
+ id : run-conformance
15
+
16
+ with :
17
+ cwlVersion : v1.0
18
+ runner : your-runner
19
+ timeout : 30
20
+ skip-python-install : true
21
+
22
+ - name : Save badges
23
+ if : success() && github.event_name == 'push' # upload badges when this action is invoked by `push` event
24
+
25
+ with :
26
+ cwlVersion : v1.0
27
+ runner-name : your-runner
28
+ badgedir : ${{ steps.run-conformance.outputs.badgedir }}
29
+ repository : ${{ github.repository_owner }}/conformance
30
+ upload-default-branch : true
31
+ token : ${{ secrets.CONFORMANCE_TOKEN }}
32
+ ` ` `
33
+
34
+ ## Input parameters
35
+
36
+ | Parameters | Required | Default | Description |
37
+ |---|---|---|---|
38
+ | ` cwlVersion` | true | - | target CWL version |
39
+ | `runne-namer` | true | - | name of CWL runner |
40
+ | `badgedir` | true | - | full path to the directory that stores conformance badges |
41
+ | `repository` | true | - | repository (in the form of `owner/repo`) to store badges |
42
+ | `upload-default-branch` | false | false | whether uploading the result of HEAD in the default branch |
43
+ | `token` | true | - | token to commit the repository specified in the `repository` field |
44
+
45
+ This action has no output parameters.
You can’t perform that action at this time.
0 commit comments