diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 86d0372..deed153 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,8 @@ defaults: jobs: test-cache: uses: ./.github/workflows/env.yml + with: + cache: "true" test-no-cache: uses: ./.github/workflows/env.yml with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 909ea59..a3cc80f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## Changed +- Disable caching by default #15 + +## Fixed +- Issue causing executables to not be found #14 ## [0.4.1] - 2023-09-18 ## Fixed diff --git a/action.yml b/action.yml index 68f25ed..6443578 100644 --- a/action.yml +++ b/action.yml @@ -12,7 +12,7 @@ inputs: required: false cache: description: "Whether to enable caching" - default: "true" + default: "false" required: false token: description: "GitHub token via `github.token`" @@ -58,12 +58,12 @@ runs: - name: Set environment variable if: runner.os != 'Windows' - run: echo "~/.aftman/bin" >> $GITHUB_PATH + run: echo "$HOME/.aftman/bin" >> $GITHUB_PATH shell: bash - name: Create auth file run: | - cat > ~/.aftman/auth.toml << EOF + cat > $HOME/.aftman/auth.toml << EOF github = "${{ inputs.token }}" EOF shell: bash @@ -75,7 +75,6 @@ runs: path: | ~/.aftman/bin ~/.aftman/tool-storage - # TODO: also hash ~/.aftman/aftman.toml key: ${{ runner.os }}-aftman-${{hashFiles(format('{0}/{1}', inputs.path, 'aftman.toml'))}} - name: Install tools