From 36ddb729c52d1e2e6ccc02507b3276a13c75524d Mon Sep 17 00:00:00 2001 From: Daniel Stankewitz Date: Tue, 26 Jul 2022 14:00:30 +0200 Subject: [PATCH] Update action.yml --- .github/actions/libvpl/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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