From badc7a115b2111c541ff1b0770c24f4204f0d433 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Sat, 5 Nov 2022 09:18:04 +0100 Subject: [PATCH] Update workflows (#1890) * update github action versions * add libsdl for translations * remove deprecated set-output (where we can - some actions are still using it) --- .github/workflows/build.yml | 6 +++--- .github/workflows/translations.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c539c0489..1ca3fd5f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,9 +32,9 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -52,7 +52,7 @@ jobs: sudo apt-get install gettext # for wxPython - sudo apt install glib-networking libsdl1.2-dev libsdl2-2.0-0 + sudo apt install glib-networking libsdl2-dev libsdl2-2.0-0 # for PyGObject sudo apt install libgirepository1.0-dev libcairo2-dev diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 151db181b..4882eb4f4 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -29,7 +29,7 @@ jobs: sudo apt-get update sudo apt install gettext # for wxPython - sudo apt install glib-networking libsdl1.2-dev + sudo apt install glib-networking libsdl2-dev libsdl2-2.0-0 # for PyGObject sudo apt install libgirepository1.0-dev libcairo2-dev # for shapely