mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-01-03 08:32:56 +08:00
Adding missing curly Brace in Usage example (#150)
This commit is contained in:
parent
e8d384d3af
commit
565d0bbe18
@ -13,7 +13,7 @@ const core = require('@actions/core');
|
|||||||
async function run() {
|
async function run() {
|
||||||
// This should be a token with access to your repository scoped in as a secret.
|
// This should be a token with access to your repository scoped in as a secret.
|
||||||
// The YML workflow will need to set myToken with the GitHub Secret Token
|
// The YML workflow will need to set myToken with the GitHub Secret Token
|
||||||
// myToken: ${{ secrets.GITHUB_TOKEN }
|
// myToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
// https://help.github.com/en/articles/virtual-environments-for-github-actions#github_token-secret
|
// https://help.github.com/en/articles/virtual-environments-for-github-actions#github_token-secret
|
||||||
const myToken = core.getInput('myToken');
|
const myToken = core.getInput('myToken');
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user