Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit fa718ed

Browse filesBrowse files
committed
Use @v2 in README
1 parent 4789b35 commit fa718ed
Copy full SHA for fa718ed

File tree

3 files changed

+9
-9
lines changed
Filter options

3 files changed

+9
-9
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The return value of the script will be in the step's outputs under the
3333
"result" key.
3434

3535
```yaml
36-
- uses: actions/github-script@v1
36+
- uses: actions/github-script@v2
3737
id: set-result
3838
with:
3939
script: return "Hello!"
@@ -52,7 +52,7 @@ output of a github-script step. For some workflows, string encoding is preferred
5252
`result-encoding` input:
5353

5454
```yaml
55-
- uses: actions/github-script@v1
55+
- uses: actions/github-script@v2
5656
id: my-script
5757
with:
5858
github-token: ${{secrets.GITHUB_TOKEN}}
@@ -78,7 +78,7 @@ jobs:
7878
comment:
7979
runs-on: ubuntu-latest
8080
steps:
81-
- uses: actions/github-script@v1
81+
- uses: actions/github-script@v2
8282
with:
8383
github-token: ${{secrets.GITHUB_TOKEN}}
8484
script: |
@@ -101,7 +101,7 @@ jobs:
101101
apply-label:
102102
runs-on: ubuntu-latest
103103
steps:
104-
- uses: actions/github-script@v1
104+
- uses: actions/github-script@v2
105105
with:
106106
github-token: ${{secrets.GITHUB_TOKEN}}
107107
script: |
@@ -122,7 +122,7 @@ jobs:
122122
welcome:
123123
runs-on: ubuntu-latest
124124
steps:
125-
- uses: actions/github-script@v1
125+
- uses: actions/github-script@v2
126126
with:
127127
github-token: ${{secrets.GITHUB_TOKEN}}
128128
script: |
@@ -166,7 +166,7 @@ jobs:
166166
diff:
167167
runs-on: ubuntu-latest
168168
steps:
169-
- uses: actions/github-script@v1
169+
- uses: actions/github-script@v2
170170
with:
171171
github-token: ${{secrets.GITHUB_TOKEN}}
172172
script: |
@@ -195,7 +195,7 @@ jobs:
195195
runs-on: ubuntu-latest
196196
steps:
197197
- uses: actions/checkout@v2
198-
- uses: actions/github-script@v1
198+
- uses: actions/github-script@v2
199199
with:
200200
script: |
201201
const path = require('path')

‎package-lock.json

Copy file name to clipboardExpand all lines: package-lock.json
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "github-script",
33
"description": "A GitHub action for executing a simple script",
4-
"version": "1.1.0",
4+
"version": "2.0.0",
55
"author": "GitHub",
66
"license": "MIT",
77
"main": "dist/index.js",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.