File tree Expand file tree Collapse file tree 1 file changed +31
-18
lines changed Expand file tree Collapse file tree 1 file changed +31
-18
lines changed Original file line number Diff line number Diff line change @@ -12,24 +12,37 @@ Wraps the curl CLI to be used in Github Actions. See also [Github Action for wge
12
12
13
13
### Github Actions
14
14
```
15
- action "curl" {
16
- uses = "wei/curl@master"
17
- args = "https://httpbin.org/get"
18
- }
19
- ```
20
-
21
- ```
22
- action "curl" {
23
- uses = "wei/curl@master"
24
- args = "-X POST https://httpbin.org/post"
25
- }
26
- ```
27
-
28
- ```
29
- action "curl" {
30
- uses = "wei/curl@master"
31
- args = "--upload-file .github/main.workflow https://transfer.sh/main.workflow"
32
- }
15
+ on: push
16
+ jobs:
17
+ curl:
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - name: curl
21
+ uses: wei/curl@master
22
+ args: https://httpbin.org/get
23
+ ```
24
+
25
+ ```
26
+ on: push
27
+ jobs:
28
+ curl:
29
+ runs-on: ubuntu-latest
30
+ steps:
31
+ - name: curl
32
+ uses: wei/curl@master
33
+ args: -X POST https://httpbin.org/post
34
+ ```
35
+
36
+ ```
37
+ on: push
38
+ jobs:
39
+ curl:
40
+ runs-on: ubuntu-latest
41
+ steps:
42
+ - uses: actions/checkout@master
43
+ - name: curl
44
+ uses: wei/curl@master
45
+ args: --upload-file .github/workflows/main.yml https://transfer.sh/main-workflow.yml
33
46
```
34
47
35
48
### Docker
You can’t perform that action at this time.
0 commit comments