Skip to content

Commit

Permalink
test gitub action
Browse files Browse the repository at this point in the history
  • Loading branch information
juggler31 committed Oct 1, 2024
1 parent 779fd73 commit 8557033
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Python requirements - get or set in cache'
description: 'Get pip cache from cache else generate it'
inputs:
requirements:
description: 'Cache key to use'
required: true
default: requirements.txt

runs:
# using: "composite"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
cache: 'pip'
python-version: '3.12'
cache-dependency-path: |
requirements.txt
- run: |
pip install -r ${{ inputs.requirements }}
shell: bash

0 comments on commit 8557033

Please sign in to comment.