mirror of
				https://github.com/actions/setup-node.git
				synced 2025-11-04 19:38:22 +08:00 
			
		
		
		
	Fixing checkout to reference v1 in readme
This commit is contained in:
		@@ -34,7 +34,7 @@ jobs:
 | 
				
			|||||||
        node: [ '10', '8' ]
 | 
					        node: [ '10', '8' ]
 | 
				
			||||||
    name: Node ${{ matrix.node }} sample
 | 
					    name: Node ${{ matrix.node }} sample
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@master
 | 
					      - uses: actions/checkout@v1
 | 
				
			||||||
      - name: Setup node
 | 
					      - name: Setup node
 | 
				
			||||||
        uses: actions/setup-node@v1
 | 
					        uses: actions/setup-node@v1
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
@@ -46,7 +46,7 @@ jobs:
 | 
				
			|||||||
Publish to npmjs and GPR with npm:
 | 
					Publish to npmjs and GPR with npm:
 | 
				
			||||||
```yaml
 | 
					```yaml
 | 
				
			||||||
steps:
 | 
					steps:
 | 
				
			||||||
- uses: actions/checkout@master
 | 
					- uses: actions/checkout@v1
 | 
				
			||||||
- uses: actions/setup-node@v1
 | 
					- uses: actions/setup-node@v1
 | 
				
			||||||
  with:
 | 
					  with:
 | 
				
			||||||
    node-version: '10.x'
 | 
					    node-version: '10.x'
 | 
				
			||||||
@@ -66,7 +66,7 @@ steps:
 | 
				
			|||||||
Publish to npmjs and GPR with yarn:
 | 
					Publish to npmjs and GPR with yarn:
 | 
				
			||||||
```yaml
 | 
					```yaml
 | 
				
			||||||
steps:
 | 
					steps:
 | 
				
			||||||
- uses: actions/checkout@master
 | 
					- uses: actions/checkout@v1
 | 
				
			||||||
- uses: actions/setup-node@v1
 | 
					- uses: actions/setup-node@v1
 | 
				
			||||||
  with:
 | 
					  with:
 | 
				
			||||||
    node-version: '10.x'
 | 
					    node-version: '10.x'
 | 
				
			||||||
@@ -86,7 +86,7 @@ steps:
 | 
				
			|||||||
Use private packages:
 | 
					Use private packages:
 | 
				
			||||||
```yaml
 | 
					```yaml
 | 
				
			||||||
steps:
 | 
					steps:
 | 
				
			||||||
- uses: actions/checkout@master
 | 
					- uses: actions/checkout@v1
 | 
				
			||||||
- uses: actions/setup-node@v1
 | 
					- uses: actions/setup-node@v1
 | 
				
			||||||
  with:
 | 
					  with:
 | 
				
			||||||
    node-version: '10.x'
 | 
					    node-version: '10.x'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user