Update action.yml
This commit is contained in:
parent
649f8542d4
commit
2744a17ea0
14
.github/actions/libfdkaac/action.yml
vendored
14
.github/actions/libfdkaac/action.yml
vendored
@ -1,7 +1,7 @@
|
|||||||
name: libfdkaac
|
name: libfdkaac
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
env:
|
refId:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
config:
|
config:
|
||||||
@ -20,22 +20,14 @@ runs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: mstorsjo/fdk-aac
|
repository: mstorsjo/fdk-aac
|
||||||
ref: v2.0.2
|
ref: ${{ inputs.refId }}
|
||||||
path: fdkaac
|
path: fdkaac
|
||||||
- name: Check cache
|
|
||||||
id: libfdkaac-cache
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: dist
|
|
||||||
key: libfdkaac-${{ inputs.env }}-${{ inputs.config }}-${{ hashFiles('fdkaac') }}
|
|
||||||
- name: Set up MSYS2
|
- name: Set up MSYS2
|
||||||
if: steps.libfdkaac-cache.outputs.cache-hit != 'true'
|
|
||||||
uses: msys2/setup-msys2@v2
|
uses: msys2/setup-msys2@v2
|
||||||
with:
|
with:
|
||||||
install: base-devel binutils autotools automake mingw-w64-x86_64-cmake nasm
|
install: base-devel binutils autotools automake mingw-w64-x86_64-cmake nasm
|
||||||
path-type: inherit
|
path-type: inherit
|
||||||
- name: Build FDK AAC
|
- name: Build FDK AAC
|
||||||
if: steps.libfdkaac-cache.outputs.cache-hit != 'true'
|
|
||||||
shell: cmd
|
shell: cmd
|
||||||
env:
|
env:
|
||||||
vsPath: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\
|
vsPath: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\
|
||||||
@ -47,5 +39,5 @@ runs:
|
|||||||
- name: Publish artifact
|
- name: Publish artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: libfdkaac-${{ inputs.env }}-${{ inputs.config }}
|
name: libfdkaac-${{ runner.os }}-${{ inputs.config }}
|
||||||
path: dist/libfdkaac.tgz
|
path: dist/libfdkaac.tgz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user