From f0d2b69bcdd43754142c5d39e5539c0c21f724f0 Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 29 Jun 2021 00:19:15 +0200 Subject: ci: pin operating systems versions To improve reproducibility. --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 55cd0a8..caabbc6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,7 @@ on: pull_request jobs: build-viewer: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ ubuntu-latest, windows-latest ] + os: [ ubuntu-20.04, windows-2019 ] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 @@ -55,7 +55,7 @@ jobs: # See https://github.com/ldgallery/ldgallery/issues/285 archive-linux: needs: [ build-viewer, build-compiler ] - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - name: Bundle ldgallery viewer @@ -66,7 +66,7 @@ jobs: - name: Bundle ldgallery compiler uses: actions/download-artifact@v2 with: - name: compiler-dist-ubuntu-latest + name: compiler-dist-ubuntu-20.04 path: dist - name: Install build dependencies run: | @@ -86,7 +86,7 @@ jobs: archive-windows: needs: [ build-viewer, build-compiler ] - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - uses: actions/cache@v2 @@ -101,7 +101,7 @@ jobs: - name: Bundle ldgallery compiler uses: actions/download-artifact@v2 with: - name: compiler-dist-windows-latest + name: compiler-dist-windows-2019 path: dist - name: Install build dependencies run: | -- cgit v1.2.3