Update action.yml
This commit is contained in:

committed by
GitHub

parent
158a3f4219
commit
4418828161
15
.github/actions/libx265-10/action.yml
vendored
15
.github/actions/libx265-10/action.yml
vendored
@ -1,7 +1,7 @@
|
||||
name: libx265-10
|
||||
|
||||
inputs:
|
||||
env:
|
||||
refId:
|
||||
type: string
|
||||
required: true
|
||||
config:
|
||||
@ -17,20 +17,11 @@ runs:
|
||||
git config --global core.autocrlf false
|
||||
git config --global core.eol lf
|
||||
git clone -b Release_3.5 https://github.com/videolan/x265.git x265
|
||||
- name: Check cache
|
||||
id: libx26510-cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: dist
|
||||
key: libx265-10-${{ inputs.env }}-${{ inputs.config }}-${{ hashFiles('x265') }}
|
||||
- name: Set up MSBuild
|
||||
if: steps.libx26510-cache.outputs.cache-hit != 'true'
|
||||
uses: microsoft/setup-msbuild@v1.1
|
||||
- name: Set up NASM
|
||||
if: steps.libx26510-cache.outputs.cache-hit != 'true'
|
||||
uses: ilammy/setup-nasm@v1.2.1
|
||||
- name: Build X265 (10 bit)
|
||||
if: steps.libx26510-cache.outputs.cache-hit != 'true'
|
||||
shell: cmd
|
||||
run: |
|
||||
call "${{ env.vsPath }}VC\Auxiliary\Build\vcvars64.bat"
|
||||
@ -44,5 +35,5 @@ runs:
|
||||
- name: Publish artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: x265_10bit-${{ inputs.env }}-${{ inputs.config }}
|
||||
path: dist/x265_10bit.lib
|
||||
name: x265_10bit-${{ runner.os }}-${{ inputs.config }}
|
||||
path: dist/x265_10bit.lib
|
||||
|
Reference in New Issue
Block a user