Skip to content

Commit

Permalink
give up caching of ruby gems
Browse files Browse the repository at this point in the history
  • Loading branch information
fanglinfang committed Sep 13, 2024
1 parent bf76906 commit fff109b
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,25 +252,11 @@ jobs:
with:
python-version: '3.10'

- name: Cache Ruby gems
uses: actions/cache@v4
with:
path: /tmp/.ruby-cache
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.5

- name: Install Gems
working-directory: path/to/your/directory
run: |
bundle config set path /tmp/.ruby-cache
bundle install
- name: Record Test Results
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit fff109b

Please sign in to comment.