Update action.yml

This commit is contained in:
Daniel Stankewitz 2022-07-26 14:00:30 +02:00 committed by GitHub
parent cae9b66875
commit 36ddb729c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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