Update action.yml
This commit is contained in:
parent
cae9b66875
commit
36ddb729c5
8
.github/actions/libvpl/action.yml
vendored
8
.github/actions/libvpl/action.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user