Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUILD-5712 Enable actions/python cache #35

2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ runs:
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: "3.10"
cache: "pipenv"
cache-dependency-path: "${{ github.action_path }}/Pipfile.lock"
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
Expand Down
16 changes: 16 additions & 0 deletions releasability-status/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,27 @@ description: Run releasability checks and update commit status
runs:
using: "composite"
steps:
- name: Define action root dir
run: |
cd ..
echo "GH_ACTION_RELEASABILITY_ROOT_DIR=$PWD" >> $GITHUB_ENV
shell: bash
working-directory: ${{ github.action_path }}
- name: List action content
run: |
ls ${{ env.GH_ACTION_RELEASABILITY_ROOT_DIR }}
shell: bash
- name: dump
run: |
cat ${{ env.GH_ACTION_RELEASABILITY_ROOT_DIR }}/Pipfile.lock
shell: bash
- id: setup_python
name: Setup python
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: "3.10"
cache: "pipenv"
cache-dependency-path: "${{ env.GH_ACTION_RELEASABILITY_ROOT_DIR }}/Pipfile.lock"
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
Expand Down
Loading