Skip to content

Commit

Permalink
Cache pip cache
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaller committed Jan 30, 2023
1 parent 4027051 commit 77b3119
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ inputs:
runs:
using: 'composite'
steps:
- if: ${{ inputs.enabled && github.event_name == 'pull_request' && github.event.pull_request.draft == false && github.actor != 'dependabot[bot]' && (!matrix.language || matrix.language == 'generic') }}
name: Cache pip cache
id: cache-pip
uses: actions/cache@v3
with:
path: ~/.cache/pip/
key: ${{ runner.os }}-pip
- if: ${{ inputs.enabled && github.event_name == 'pull_request' && github.event.pull_request.draft == false && github.actor != 'dependabot[bot]' }}
id: assignees
env:
Expand Down Expand Up @@ -85,7 +92,8 @@ runs:
shell: bash
run: |
sudo apt-get install -qy libxml2-utils
- name: Cache go binaries
- if: ${{ inputs.enabled && github.event_name == 'pull_request' && github.event.pull_request.draft == false && github.actor != 'dependabot[bot]' && (!matrix.language || matrix.language == 'generic') }}
name: Cache go binaries
id: cache-go
uses: actions/cache@v3
with:
Expand Down

0 comments on commit 77b3119

Please sign in to comment.