From f66a56e59e05865f438a80db86275959efb92901 Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Mon, 4 Nov 2019 16:40:33 -0500 Subject: [PATCH] Bump version to v1 (#51) --- README.md | 4 ++-- examples.md | 26 +++++++++++++------------- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index a289d65..ccf4bc5 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v1 - name: Cache node modules - uses: actions/cache@preview + uses: actions/cache@v1 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -70,7 +70,7 @@ Example: steps: - uses: actions/checkout@v1 - - uses: actions/cache@preview + - uses: actions/cache@v1 id: cache with: path: path/to/dependencies diff --git a/examples.md b/examples.md index 54c05bb..ca571d8 100644 --- a/examples.md +++ b/examples.md @@ -15,7 +15,7 @@ ## Node - npm ```yaml -- uses: actions/cache@preview +- uses: actions/cache@v1 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -26,7 +26,7 @@ ## Node - Yarn ```yaml -- uses: actions/cache@preview +- uses: actions/cache@v1 with: path: ~/.cache/yarn key: ${{ runner.os }}-yarn-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }} @@ -37,7 +37,7 @@ ## C# - Nuget Using [NuGet lock files](https://docs.microsoft.com/nuget/consume-packages/package-references-in-project-files#locking-dependencies): ```yaml -- uses: actions/cache@preview +- uses: actions/cache@v1 with: path: ~/.nuget/packages key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} @@ -48,7 +48,7 @@ Using [NuGet lock files](https://docs.microsoft.com/nuget/consume-packages/packa ## Java - Gradle ```yaml -- uses: actions/cache@preview +- uses: actions/cache@v1 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} @@ -59,7 +59,7 @@ Using [NuGet lock files](https://docs.microsoft.com/nuget/consume-packages/packa ## Java - Maven ```yaml -- uses: actions/cache@preview +- uses: actions/cache@v1 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -70,7 +70,7 @@ Using [NuGet lock files](https://docs.microsoft.com/nuget/consume-packages/packa ## Swift, Objective-C - Carthage ```yaml -uses: actions/cache@preview +uses: actions/cache@v1 with: path: Carthage key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }} @@ -81,7 +81,7 @@ uses: actions/cache@preview ## Swift, Objective-C - CocoaPods ```yaml -- uses: actions/cache@preview +- uses: actions/cache@v1 with: path: Pods key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} @@ -92,7 +92,7 @@ uses: actions/cache@preview ## Ruby - Gem ```yaml -- uses: actions/cache@preview +- uses: actions/cache@v1 with: path: vendor/bundle key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }} @@ -103,7 +103,7 @@ uses: actions/cache@preview ## Go - Modules ```yaml -- uses: actions/cache@preview +- uses: actions/cache@v1 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} @@ -113,7 +113,7 @@ uses: actions/cache@preview ## Elixir - Mix ```yaml -- uses: actions/cache@preview +- uses: actions/cache@v1 with: path: deps key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} @@ -125,17 +125,17 @@ uses: actions/cache@preview ``` - name: Cache cargo registry - uses: actions/cache@preview + uses: actions/cache@v1 with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo index - uses: actions/cache@preview + uses: actions/cache@v1 with: path: ~/.cargo/git key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo build - uses: actions/cache@preview + uses: actions/cache@v1 with: path: target key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} diff --git a/package-lock.json b/package-lock.json index ed53148..59a5bb6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "cache", - "version": "0.0.1", + "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index f5ce058..84b7733 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cache", - "version": "0.0.2", + "version": "1.0.0", "private": true, "description": "Cache dependencies and build outputs", "main": "dist/restore/index.js",