diff --git a/.github/actions/libvpl/action.yml b/.github/actions/libvpl/action.yml index de07d55..9fa8398 100644 --- a/.github/actions/libvpl/action.yml +++ b/.github/actions/libvpl/action.yml @@ -1,7 +1,7 @@ name: libvpl inputs: - env: + refId: type: string required: true config: @@ -20,14 +20,14 @@ runs: uses: actions/checkout@v3.0.0 with: repository: oneapi-src/oneVPL - ref: master + ref: ${{ inputs.refId }} path: onevpl - name: Check cache id: libvpl-cache uses: actions/cache@v3 with: path: dist - key: libvpl-${{ inputs.env }}-${{ inputs.config }}-${{ hashFiles('onevpl') }} + key: libvpl-${{ runner.os }}-${{ inputs.config }}-${{ hashFiles('onevpl') }} - name: Set up MSYS2 if: steps.libvpl-cache.outputs.cache-hit != 'true' uses: msys2/setup-msys2@v2 @@ -52,5 +52,5 @@ runs: - name: Publish artifact uses: actions/upload-artifact@v2 with: - name: libvpl-${{ inputs.env }}-${{ inputs.config }} + name: libvpl-${{ runner.os }}-${{ inputs.config }} path: dist/libvpl.tgz