Skip to content

Commit

Permalink
Remove deprecated set-output.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Jun 27, 2024
1 parent 316812a commit a6701ae
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,15 @@ runs:
conda list
shell: bash -el {0}

- name: Generate hash from models-json
- name: '[Unix] Generate hash from models-json'
if: ${{ inputs.os != 'windows' }}
id: generate_hash
run: |
echo "::set-output name=hash::$(echo '${{ inputs.models-json }}' | sha256sum | cut -d ' ' -f1)"
echo "hash=$(echo '${{ inputs.models-json }}' | sha256sum | cut -d ' ' -f1)" >> $GITHUB_OUTPUT
shell: bash

- name: Cache models
- name: '[Unix] Cache models'
if: ${{ inputs.os != 'windows' }}
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/models
Expand Down

0 comments on commit a6701ae

Please sign in to comment.