Skip to content

Commit

Permalink
add automation to bump cache version
Browse files Browse the repository at this point in the history
  • Loading branch information
adityamaru committed Oct 5, 2024
1 parent 054c7da commit 9608e5a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/bump-cache-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,17 @@ jobs:
cd packages/setup-ocaml
- name: Update package.json
working-directory: packages/setup-ocaml
run: |
sed -i 's/"@actions\/cache": "npm:@useblacksmith\/cache@[^"]*"/"@actions\/cache": "npm:@useblacksmith\/cache@${{ github.event.inputs.cache_version }}"/' package.json
- name: Install dependencies
run: npm install
working-directory: packages/setup-ocaml
run: yarn install

- name: Build
run: npm run build
working-directory: packages/setup-ocaml
run: yarn build

- name: Check for changes
id: git-check
Expand Down

0 comments on commit 9608e5a

Please sign in to comment.