diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 8c1e784..a0047d8 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -55,7 +55,7 @@ a project may be further defined and clarified by project maintainers. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at opensource+actions/create-release@github.com. All +reported by contacting the project team at opensource+actions/cache@github.com. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. diff --git a/examples.md b/examples.md index a580dbb..54c05bb 100644 --- a/examples.md +++ b/examples.md @@ -9,6 +9,7 @@ - [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods) - [Ruby - Gem](#ruby---gem) - [Go - Modules](#go---modules) +- [Elixir - Mix](#elixir---mix) - [Rust - Cargo](#rust---cargo) ## Node - npm @@ -110,6 +111,16 @@ uses: actions/cache@preview ${{ runner.os }}-go- ``` +## Elixir - Mix +```yaml +- uses: actions/cache@preview + with: + path: deps + key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} + restore-keys: | + ${{ runner.os }}-mix- +``` + ## Rust - Cargo ``` @@ -128,4 +139,4 @@ uses: actions/cache@preview with: path: target key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} -``` \ No newline at end of file +```