diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c44ed4b..e76c7b7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,24 +28,26 @@ jobs: bb: latest - name: Cache clojure/java dependencies - uses: "actions/cache@v4" + uses: actions/cache@v4 with: path: | ~/.m2/repository ~/.gitlibs ~/.deps.clj - key: "${{ runner.os }}-clojure-${{ hashFiles('deps.edn') }}" - restore-keys: "${{ runner.os }}-clojure-" + key: ${{ runner.os }}-clojure-${{ hashFiles('**/*.edn') }} + restore-keys: | + ${{ runner.os }}-clojure- - name: Install node dependencies run: npm install - name: Cache npm - uses: "actions/cache@v4" + uses: actions/cache@v4 with: - path: "~/.npm" - key: "${{ runner.os }}-npm-${{ hashFiles('package.json') }}" - restore-keys: "${{ runner.os }}-npm-" + path: ~/.npm + key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} + restore-keys: | + ${{ runner.os }}-npm- - name: Build VSIX run: | @@ -59,5 +61,4 @@ jobs: - uses: actions/upload-artifact@v4 with: name: ${{ steps.get-vsix-name.outputs.vsix_name }} - path: '*.vsix' - + path: '*.vsix' \ No newline at end of file