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 name: libvpl
inputs: inputs:
env: refId:
type: string type: string
required: true required: true
config: config:
@ -20,14 +20,14 @@ runs:
uses: actions/checkout@v3.0.0 uses: actions/checkout@v3.0.0
with: with:
repository: oneapi-src/oneVPL repository: oneapi-src/oneVPL
ref: master ref: ${{ inputs.refId }}
path: onevpl path: onevpl
- name: Check cache - name: Check cache
id: libvpl-cache id: libvpl-cache
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: dist path: dist
key: libvpl-${{ inputs.env }}-${{ inputs.config }}-${{ hashFiles('onevpl') }} key: libvpl-${{ runner.os }}-${{ inputs.config }}-${{ hashFiles('onevpl') }}
- name: Set up MSYS2 - name: Set up MSYS2
if: steps.libvpl-cache.outputs.cache-hit != 'true' if: steps.libvpl-cache.outputs.cache-hit != 'true'
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2
@ -52,5 +52,5 @@ runs:
- name: Publish artifact - name: Publish artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: libvpl-${{ inputs.env }}-${{ inputs.config }} name: libvpl-${{ runner.os }}-${{ inputs.config }}
path: dist/libvpl.tgz path: dist/libvpl.tgz