Bump cache module to version 1.0.0
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/workflow.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/workflow.yml
									
									
									
									
										vendored
									
									
								
							| @@ -34,7 +34,7 @@ jobs: | ||||
|       run: | | ||||
|         echo "::set-output name=dir::$(npm config get cache)" | ||||
|     - name: Restore npm cache | ||||
|       uses: actions/cache@v1 | ||||
|       uses: actions/cache@v2 | ||||
|       with: | ||||
|         path: ${{ steps.npm-cache.outputs.dir }} | ||||
|         key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||||
| @@ -52,7 +52,7 @@ jobs: | ||||
|       shell: bash | ||||
|       run: | | ||||
|         npm run build | ||||
|         if [ "$(git status --porcelain | wc -l)" -gt "0" ]; then | ||||
|         if [ "$(git diff --ignore-space-at-eol | wc -l)" -gt "0" ]; then | ||||
|           echo "Detected uncommitted changes after build.  See status below:" | ||||
|           git diff | ||||
|           exit 1 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Dave Hadka
					Dave Hadka