Update GitHub Actions to latest versions

Fixes the deprecation warnings during workflow builds
This commit is contained in:
KatieFrogs 2022-10-24 16:26:49 +02:00
parent 49af2cea7d
commit b0b1091554
4 changed files with 34 additions and 34 deletions

View File

@ -15,10 +15,10 @@ jobs:
# cross-platform coverage.
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#configuring-a-build-matrix
name: CMake, Ubuntu
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Fetch Git tags
run: |
@ -35,7 +35,7 @@ jobs:
run: cmake -E make_directory ${{runner.workspace}}/build
- name: Cache celt
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{runner.workspace}}/dependencies/celt-0061
@ -45,7 +45,7 @@ jobs:
key: linux-celt-${{ hashFiles('cmake/dependencies/celt.cmake') }}
- name: Cache ffmpeg
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{runner.workspace}}/build/dependencies/ffmpeg/bin/usr/local/include
@ -53,21 +53,21 @@ jobs:
key: linux-ffmpeg-${{ hashFiles('cmake/dependencies/ffmpeg.cmake') }}
- name: Cache atrac9
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{runner.workspace}}/build/dependencies/LibAtrac9/bin
key: linux-atrac9-${{ hashFiles('cmake/dependencies/atrac9.cmake') }}
- name: Cache g719
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{runner.workspace}}/build/dependencies/libg719_decode/libg719_decode.a
key: linux-g719-${{ hashFiles('cmake/dependencies/g719.cmake') }}
- name: Cache mpg123
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{runner.workspace}}/dependencies/mpg123
@ -75,7 +75,7 @@ jobs:
key: linux-mpg123-${{ hashFiles('cmake/dependencies/mpg123.cmake') }}
- name: Cache speex
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{runner.workspace}}/build/dependencies/speex/libspeex/.libs
@ -98,7 +98,7 @@ jobs:
run: cmake --build . --config $BUILD_TYPE
- name: Upload CLI tools artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: |
${{runner.workspace}}/build/cli/vgmstream-cli
@ -106,7 +106,7 @@ jobs:
name: vgmstream-cli
#- name: Upload Audacious plugin artifact
# uses: actions/upload-artifact@v2
# uses: actions/upload-artifact@v3
# with:
# path: ${{runner.workspace}}/build/audacious/vgmstream.so
# name: vgmstream-audacious

View File

@ -11,7 +11,7 @@ jobs:
name: CMake, macOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
@ -19,7 +19,7 @@ jobs:
run: brew install autoconf automake cmake ffmpeg jansson libao libvorbis mpg123
- name: Cache celt
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{ github.workspace }}/dependencies/celt-0061
@ -29,13 +29,13 @@ jobs:
key: mac-celt-${{ hashFiles('cmake/dependencies/celt.cmake') }}
- name: Cache atrac9
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ github.workspace }}/build/dependencies/LibAtrac9/bin
key: mac-atrac9-${{ hashFiles('cmake/dependencies/atrac9.cmake') }}
- name: Cache g719
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ github.workspace }}/build/dependencies/libg719_decode/libg719_decode.a
key: mac-g719-${{ hashFiles('cmake/dependencies/g719.cmake') }}
@ -47,7 +47,7 @@ jobs:
cmake --build build
- name: Upload CLI tools artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: ${{ github.workspace }}/build/cli/vgmstream-cli
name: vgmstream-mac

View File

@ -7,23 +7,23 @@ on: [push, pull_request, workflow_dispatch]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
EM_VERSION: 2.0.29
EM_VERSION: 3.1.24
EM_CACHE_FOLDER: 'emsdk-cache'
jobs:
build:
name: CMake, WebAssembly
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Fetch Git tags
run: |
git fetch --prune --unshallow --tags
- name: Setup emsdk
uses: mymindstorm/setup-emsdk@v10
uses: mymindstorm/setup-emsdk@v11
with:
version: ${{env.EM_VERSION}}
actions-cache-folder: ${{env.EM_CACHE_FOLDER}}
@ -32,7 +32,7 @@ jobs:
run: cmake -E make_directory ${{runner.workspace}}/embuild
- name: Cache celt
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{runner.workspace}}/dependencies/celt-0061
@ -42,7 +42,7 @@ jobs:
key: wasm-celt-${{ hashFiles('cmake/dependencies/celt.cmake') }}
- name: Cache ffmpeg
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{runner.workspace}}/embuild/dependencies/ffmpeg/bin/usr/local/include
@ -50,28 +50,28 @@ jobs:
key: wasm-ffmpeg-${{ hashFiles('cmake/dependencies/ffmpeg.cmake') }}
- name: Cache jansson
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{runner.workspace}}/embuild/dependencies/jansson/src/.libs
key: wasm-jansson-${{ hashFiles('cmake/dependencies/jansson.cmake') }}
- name: Cache atrac9
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{runner.workspace}}/embuild/dependencies/LibAtrac9/bin
key: wasm-atrac9-${{ hashFiles('cmake/dependencies/atrac9.cmake') }}
- name: Cache g719
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{runner.workspace}}/embuild/dependencies/libg719_decode/libg719_decode.a
key: wasm-g719-${{ hashFiles('cmake/dependencies/g719.cmake') }}
- name: Cache mpg123
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{runner.workspace}}/dependencies/mpg123
@ -79,14 +79,14 @@ jobs:
key: wasm-mpg123-${{ hashFiles('cmake/dependencies/mpg123.cmake') }}
- name: Cache speex
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{runner.workspace}}/embuild/dependencies/speex/libspeex/.libs
key: wasm-speex-${{ hashFiles('cmake/dependencies/speex.cmake') }}
- name: Cache ogg
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{runner.workspace}}/embuild/dependencies/ogg/libogg.a
@ -94,7 +94,7 @@ jobs:
key: wasm-ogg-${{ hashFiles('cmake/dependencies/ogg.cmake') }}
- name: Cache vorbis
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
${{runner.workspace}}/embuild/dependencies/vorbis/lib/*.a
@ -111,7 +111,7 @@ jobs:
run: emmake make
- name: Upload WebAssembly artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: |
${{runner.workspace}}/embuild/cli/vgmstream-cli.js

View File

@ -18,7 +18,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Fetch Git tags
shell: cmd
@ -38,25 +38,25 @@ jobs:
run: powershell -ExecutionPolicy Bypass -NoProfile -File .\msvc-build.ps1 PackageTmp
- name: Upload foobar2000 component artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: foo_input_vgmstream.fb2k-component
path: ${{github.workspace}}\tmp\fb2k
- name: Upload CLI tools artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: vgmstream-win
path: ${{github.workspace}}\tmp\cli
- name: Upload foobar2000 component debug symbols artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: foo_input_vgmstream.pdb
path: ${{github.workspace}}\tmp\fb2k-p
- name: Upload CLI tools debug symbols artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: vgmstream-win.pdb
path: ${{github.workspace}}\tmp\cli-p