diff --git a/.github/actions/load-fhir-xsd/action.yaml b/.github/actions/load-fhir-xsd/action.yaml index 8f3cff80..71b8d32d 100644 --- a/.github/actions/load-fhir-xsd/action.yaml +++ b/.github/actions/load-fhir-xsd/action.yaml @@ -38,11 +38,13 @@ runs: _dl_url="${{ inputs.base-url}}/${{ inputs.version }}/${{ inputs.filename }}" _cache_dir="${{ github.workspace }}/input" _xsd_cache_dir="${_cache_dir}/${{ inputs.version }}" + _zip_filename="${_cache_dir}/${{ inputs.version }}.zip" echo "cache-key=${_cache_key}" >> $GITHUB_OUTPUT echo "cache-dir=${_cache_dir}" >> $GITHUB_OUTPUT echo "xsd-cache-dir=${_xsd_cache_dir}" >> $GITHUB_OUTPUT echo "url=${_dl_url}" >> $GITHUB_OUTPUT + echo "zip-filename=${_zip_filename}" >> $GITHUB_OUTPUT - uses: actions/cache@v4 id: cache @@ -60,10 +62,10 @@ runs: curl \ -L \ -A '${{ inputs.user-agent }}' \ - -o '${{ steps.vars.outputs.cache-dir}}/${{ inputs.filename }}' \ + -o '${{ steps.vars.outputs.zip-filename }}' \ '${{ steps.vars.outputs.url }}' - unzip -o -qq '${{ steps.vars.outputs.cache-dir}}/${{ inputs.filename }}' -d '${{ steps.vars.outputs.xsd-cache-dir }}' + unzip -o -qq '${{ steps.vars.outputs.zip-filename }}' -d '${{ steps.vars.outputs.xsd-cache-dir }}' ls -l '${{ steps.vars.outputs.cache-dir}}' ls -l '${{ steps.vars.outputs.xsd-cache-dir }}' \ No newline at end of file