Skip to content

Commit

Permalink
feat: add action input of cache-dependency-path
Browse files Browse the repository at this point in the history
  • Loading branch information
noppaz committed Oct 12, 2023
1 parent 6abd5f8 commit 413beaa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ inputs:
required: false
default: '1.21'

cache-dependency-path:
description: Path to the go.sum file(s) to use in caching.
required: false
default: go.sum

check-latest:
description: If true, checks whether the cached go version is the latest, if not then downloads the latest. Useful when you need to use the latest version.
required: false
Expand All @@ -42,6 +47,7 @@ runs:
go-version: ${{ inputs.go-version }}
check-latest: ${{ inputs.check-latest }}
cache: ${{ inputs.disableCache != 'true' }}
cache-dependency-path: ${{ inputs.cache-dependency-path }}

- name: Cache sage folders
if: ${{ inputs.disableCache != 'true' }}
Expand Down

0 comments on commit 413beaa

Please sign in to comment.