Skip to content

Commit

Permalink
replace set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
dulmandakh committed Sep 20, 2024
1 parent caa24a7 commit cb3e681
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "CACHE_DIR=$(pip cache dir)" >> "$GITHUB_OUTPUT"
- name: Cache
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
path: ${{ steps.pip-cache.outputs.CACHE_DIR }}
key: release-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
release-
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "CACHE_DIR=$(pip cache dir)" >> "$GITHUB_OUTPUT"
- name: Cache
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
path: ${{ steps.pip-cache.outputs.CACHE_DIR }}
key:
test-${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }}
restore-keys: |
Expand Down

0 comments on commit cb3e681

Please sign in to comment.