From 29d3ae53b96b93969e15c0a0a633485fa6bb9189 Mon Sep 17 00:00:00 2001 From: Daniel Stankewitz Date: Tue, 26 Jul 2022 14:36:56 +0200 Subject: [PATCH] Update action.yml --- .github/actions/libopus/action.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/actions/libopus/action.yml b/.github/actions/libopus/action.yml index a99f599..7ba22fc 100644 --- a/.github/actions/libopus/action.yml +++ b/.github/actions/libopus/action.yml @@ -1,7 +1,7 @@ name: libopus inputs: - env: + refId: type: string required: true config: @@ -22,20 +22,12 @@ runs: repository: xiph/opus ref: v1.3.1 path: opus - - name: Check cache - id: libopus-cache - uses: actions/cache@v3 - with: - path: dist - key: libopus-${{ inputs.env }}-${{ inputs.config }}-${{ hashFiles('opus') }} - name: Set up MSYS2 - if: steps.libopus-cache.outputs.cache-hit != 'true' uses: msys2/setup-msys2@v2 with: install: base-devel binutils autotools automake mingw-w64-x86_64-cmake nasm path-type: inherit - name: Build OPUS - if: steps.libopus-cache.outputs.cache-hit != 'true' shell: cmd env: vsPath: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\ @@ -50,5 +42,5 @@ runs: - name: Publish artifact uses: actions/upload-artifact@v2 with: - name: libopus-${{ inputs.env }}-${{ inputs.config }} + name: libopus-${{ runner.os }}-${{ inputs.config }} path: dist/libopus.tgz