Update action.yml
This commit is contained in:
parent
36ddb729c5
commit
a2350f473d
13
.github/actions/liboggvorbis/action.yml
vendored
13
.github/actions/liboggvorbis/action.yml
vendored
@ -1,7 +1,10 @@
|
|||||||
name: liboggvorbis
|
name: liboggvorbis
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
env:
|
libogg_refId:
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
libvorbis_refId:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
config:
|
config:
|
||||||
@ -20,20 +23,20 @@ runs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: xiph/ogg
|
repository: xiph/ogg
|
||||||
ref: v1.3.5
|
ref: ${{ inputs.libogg_refId }}
|
||||||
path: ogg
|
path: ogg
|
||||||
- name: Checkout Vorbis
|
- name: Checkout Vorbis
|
||||||
uses: actions/checkout@v3.0.0
|
uses: actions/checkout@v3.0.0
|
||||||
with:
|
with:
|
||||||
repository: xiph/vorbis
|
repository: xiph/vorbis
|
||||||
ref: v1.3.7
|
ref: ${{ inputs.libvorbis_refId }}
|
||||||
path: vorbis
|
path: vorbis
|
||||||
- name: Check cache
|
- name: Check cache
|
||||||
id: liboggvorbis-cache
|
id: liboggvorbis-cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: dist
|
path: dist
|
||||||
key: liboggvorbis-${{ inputs.env }}-${{ inputs.config }}-${{ hashFiles('ogg') }}-${{ hashFiles('vorbis') }}
|
key: liboggvorbis-${{ runner.os }}-${{ inputs.config }}-${{ hashFiles('ogg') }}-${{ hashFiles('vorbis') }}
|
||||||
- name: Set up MSYS2
|
- name: Set up MSYS2
|
||||||
if: steps.liboggvorbis-cache.outputs.cache-hit != 'true'
|
if: steps.liboggvorbis-cache.outputs.cache-hit != 'true'
|
||||||
uses: msys2/setup-msys2@v2
|
uses: msys2/setup-msys2@v2
|
||||||
@ -63,5 +66,5 @@ runs:
|
|||||||
- name: Publish artifact
|
- name: Publish artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: liboggvorbis-${{ inputs.env }}-${{ inputs.config }}
|
name: liboggvorbis-${{ runner.os }}-${{ inputs.config }}
|
||||||
path: dist/liboggvorbis.tgz
|
path: dist/liboggvorbis.tgz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user