Skip to content

Commit

Permalink
remove cache
Browse files Browse the repository at this point in the history
  • Loading branch information
wyuenho committed Sep 5, 2023
1 parent 382fb36 commit a1f4dcc
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,36 +33,14 @@ jobs:
steps:
- uses: "actions/checkout@v4"

- name: "Build cache inputs"
id: "cache-inputs"
run: |
{
echo 'cache-path<<EOF'
echo ~/.cask
echo ~/.emacs.d
echo EOF
} >> "$GITHUB_OUTPUT"
echo 'cache-key=cask-${{ hashFiles('Cask') }}' >> "$GITHUB_OUTPUT"
- uses: "actions/cache@v3"
id: "emacs-cask-cache"
with:
path: "${{ steps.cache-inputs.outputs.cache-path }}"
key: "${{ steps.cache-inputs.outputs.cache-key }}"

- uses: "purcell/setup-emacs@master"
with:
version: "${{ matrix.emacs-version }}"

- if: ${{ steps.emacs-cask-cache.outputs.cache-hit != 'true' }}
uses: "cask/setup-cask@master"
- uses: "cask/setup-cask@master"
with:
version: "0.9.0"

- if: ${{ steps.emacs-cask-cache.outputs.cache-hit == 'true' }}
run: |
echo "$HOME/.cask/bin" >> $GITHUB_PATH
- name: "Compile"
run: |
make compile
Expand Down

0 comments on commit a1f4dcc

Please sign in to comment.