Update action.yml
This commit is contained in:
parent
a2350f473d
commit
e979b4ee9d
8
.github/actions/libsvtav1/action.yml
vendored
8
.github/actions/libsvtav1/action.yml
vendored
@ -1,7 +1,7 @@
|
|||||||
name: libsvtav1
|
name: libsvtav1
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
env:
|
refId:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
config:
|
config:
|
||||||
@ -20,14 +20,14 @@ runs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: AOMediaCodec/SVT-AV1
|
repository: AOMediaCodec/SVT-AV1
|
||||||
ref: v1.1.0
|
ref: ${{ inputs.refId }}
|
||||||
path: svtav1
|
path: svtav1
|
||||||
- name: Check cache
|
- name: Check cache
|
||||||
id: libsvtav1-cache
|
id: libsvtav1-cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: dist
|
path: dist
|
||||||
key: libsvtav1-${{ inputs.env }}-${{ inputs.config }}-${{ hashFiles('svtav1') }}
|
key: libsvtav1-${{ runner.os }}-${{ inputs.config }}-${{ hashFiles('svtav1') }}
|
||||||
- name: Set up MSYS2
|
- name: Set up MSYS2
|
||||||
if: steps.libsvtav1-cache.outputs.cache-hit != 'true'
|
if: steps.libsvtav1-cache.outputs.cache-hit != 'true'
|
||||||
uses: msys2/setup-msys2@v2
|
uses: msys2/setup-msys2@v2
|
||||||
@ -47,5 +47,5 @@ runs:
|
|||||||
- name: Publish artifact
|
- name: Publish artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: libsvtav1-${{ inputs.env }}-${{ inputs.config }}
|
name: libsvtav1-${{ runner.os }}-${{ inputs.config }}
|
||||||
path: dist/libsvtav1.tgz
|
path: dist/libsvtav1.tgz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user