aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpacien2021-06-29 00:19:15 +0200
committerpacien2021-06-29 00:19:15 +0200
commitf0d2b69bcdd43754142c5d39e5539c0c21f724f0 (patch)
tree217039fba2c400cb19a161a9bdd7e82141d7cc31
parent65a3b5b0e8f599a03fac6d8d7d788d97c7f196a3 (diff)
downloadldgallery-f0d2b69bcdd43754142c5d39e5539c0c21f724f0.tar.gz
ci: pin operating systems versions
To improve reproducibility.
-rw-r--r--.github/workflows/build.yml12
1 files 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
3 3
4jobs: 4jobs:
5 build-viewer: 5 build-viewer:
6 runs-on: ubuntu-latest 6 runs-on: ubuntu-20.04
7 steps: 7 steps:
8 - uses: actions/checkout@v2 8 - uses: actions/checkout@v2
9 - uses: actions/setup-node@v1 9 - uses: actions/setup-node@v1
@@ -26,7 +26,7 @@ jobs:
26 strategy: 26 strategy:
27 fail-fast: false 27 fail-fast: false
28 matrix: 28 matrix:
29 os: [ ubuntu-latest, windows-latest ] 29 os: [ ubuntu-20.04, windows-2019 ]
30 runs-on: ${{ matrix.os }} 30 runs-on: ${{ matrix.os }}
31 steps: 31 steps:
32 - uses: actions/checkout@v2 32 - uses: actions/checkout@v2
@@ -55,7 +55,7 @@ jobs:
55 # See https://github.com/ldgallery/ldgallery/issues/285 55 # See https://github.com/ldgallery/ldgallery/issues/285
56 archive-linux: 56 archive-linux:
57 needs: [ build-viewer, build-compiler ] 57 needs: [ build-viewer, build-compiler ]
58 runs-on: ubuntu-latest 58 runs-on: ubuntu-20.04
59 steps: 59 steps:
60 - uses: actions/checkout@v2 60 - uses: actions/checkout@v2
61 - name: Bundle ldgallery viewer 61 - name: Bundle ldgallery viewer
@@ -66,7 +66,7 @@ jobs:
66 - name: Bundle ldgallery compiler 66 - name: Bundle ldgallery compiler
67 uses: actions/download-artifact@v2 67 uses: actions/download-artifact@v2
68 with: 68 with:
69 name: compiler-dist-ubuntu-latest 69 name: compiler-dist-ubuntu-20.04
70 path: dist 70 path: dist
71 - name: Install build dependencies 71 - name: Install build dependencies
72 run: | 72 run: |
@@ -86,7 +86,7 @@ jobs:
86 86
87 archive-windows: 87 archive-windows:
88 needs: [ build-viewer, build-compiler ] 88 needs: [ build-viewer, build-compiler ]
89 runs-on: ubuntu-latest 89 runs-on: ubuntu-20.04
90 steps: 90 steps:
91 - uses: actions/checkout@v2 91 - uses: actions/checkout@v2
92 - uses: actions/cache@v2 92 - uses: actions/cache@v2
@@ -101,7 +101,7 @@ jobs:
101 - name: Bundle ldgallery compiler 101 - name: Bundle ldgallery compiler
102 uses: actions/download-artifact@v2 102 uses: actions/download-artifact@v2
103 with: 103 with:
104 name: compiler-dist-windows-latest 104 name: compiler-dist-windows-2019
105 path: dist 105 path: dist
106 - name: Install build dependencies 106 - name: Install build dependencies
107 run: | 107 run: |