diff --git a/action.yaml b/action.yaml index 3396910..c0a50f9 100644 --- a/action.yaml +++ b/action.yaml @@ -97,7 +97,7 @@ runs: options+=("-S ${{ inputs.severity }}") fi options+=("--format=${{ inputs.format }}") - echo "::set-output name=options::${options[@]}" + echo "options=${options[@]}" >> $GITHUB_OUTPUT - name: Gather excluded paths shell: bash @@ -130,7 +130,7 @@ runs: echo "::debug:: Adding '$name' to excludes" excludes+=("! -name $name") done - echo "::set-output name=excludes::${excludes[@]}" + echo "excludes=${excludes[@]}" >> $GITHUB_OUTPUT set +f # re-enable globbing @@ -143,7 +143,7 @@ runs: echo "::debug:: Adding '$file' to excludes" files+=("-o -name \"*$file\"") done - echo "::set-output name=files::${files[@]}" + echo "files=${files[@]}" >> $GITHUB_OUTPUT - name: Run the check shell: bash @@ -210,8 +210,8 @@ runs: done fi - echo "::set-output name=filepaths::${filepaths[@]}" - echo "::set-output name=statuscode::$statuscode" + echo "filepaths=${filepaths[@]}" >> $GITHUB_OUTPUT + echo "statuscode=$statuscode" >> $GITHUB_OUTPUT - name: Exit action shell: bash