From 2106fcac20ffd1719a3dd187a61e0462dd5e6000 Mon Sep 17 00:00:00 2001 From: pacien Date: Fri, 11 Nov 2022 02:02:49 +0100 Subject: ci: update github workflow action versions Getting rid of some some deprecation warnings. GitHub: closes #350 --- .github/workflows/build.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e19a44e..12bc7a1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,8 +5,8 @@ jobs: build-viewer: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: # Latest version officially tested for Ld node-version: 16.14.2 @@ -16,7 +16,7 @@ jobs: yarn yarn run lint yarn run build - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: viewer-dist path: viewer/dist @@ -30,12 +30,12 @@ jobs: os: [ ubuntu-20.04, windows-2019 ] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + - uses: actions/checkout@v3 + - uses: actions/cache@v3 with: path: ~/.stack key: compiler-${{ runner.os }}-${{ hashFiles('compiler/stack.yaml') }} - - uses: haskell/actions/setup@v1 + - uses: haskell/actions/setup@v2 with: ghc-version: 9.0.2 enable-stack: true @@ -49,7 +49,7 @@ jobs: --flag ldgallery-compiler:portable \ --copy-bins \ --local-bin-path dist - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: compiler-dist-${{ matrix.os }} path: compiler/dist @@ -60,14 +60,14 @@ jobs: needs: [ build-viewer, build-compiler ] runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Bundle ldgallery viewer - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: viewer-dist path: dist/viewer - name: Bundle ldgallery compiler - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: compiler-dist-ubuntu-20.04 path: dist @@ -82,7 +82,7 @@ jobs: pandoc --standalone --to man viewer/ldgallery-viewer.7.md --output dist/ldgallery-viewer.7 cp changelog.md dist/ cp license.md dist/ - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: archive-linux-amd64 path: dist @@ -91,18 +91,18 @@ jobs: needs: [ build-viewer, build-compiler ] runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + - uses: actions/checkout@v3 + - uses: actions/cache@v3 with: path: ~/downloads key: archive-windows-vendored - name: Bundle ldgallery viewer - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: viewer-dist path: dist/viewer - name: Bundle ldgallery compiler - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: compiler-dist-windows-2019 path: dist @@ -135,7 +135,7 @@ jobs: 7z e ~/downloads/"$MAGICK_LATEST" -so LICENSE.txt > dist/magick.license.txt 7z e ~/downloads/"$MAGICK_LATEST" -so NOTICE.txt > dist/magick.notice.txt 7z e ~/downloads/"$MAGICK_LATEST" -so README.txt > dist/magick.readme.txt - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: archive-win64 path: dist -- cgit v1.2.3