File tree Expand file tree Collapse file tree 3 files changed +41
-2
lines changed
Expand file tree Collapse file tree 3 files changed +41
-2
lines changed Original file line number Diff line number Diff line change 1+ # Copyright (c) 2024 Markus Falb <markus.falb@mafalb.at>
2+ # GNU General Public License v3.0+
3+ # see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt
4+ ---
5+
6+ # https://github.com/actions/runner-images/issues/9425
7+ name : ' Fix crun'
8+ description : ' Fix crun because of incompatible kernel'
9+
10+ inputs :
11+ checksums :
12+ description : ' The path to the CHECKSUM file'
13+ type : string
14+ required : true
15+
16+ runs :
17+ using : composite
18+ steps :
19+ - name : patch crun
20+ shell : bash
21+ env :
22+ URI : https://github.com/containers/crun/releases/download/1.14.4/crun-1.14.4-linux-amd64
23+ CHECKSUMS : ${{ inputs.checksums }}
24+ run : |
25+ cd $(dirname "$CHECKSUMS")
26+ test -f "$(basename $CHECKSUMS)"
27+ curl -Lo crun "$URI"
28+ sha256sum -c "$(basename $CHECKSUMS)"
29+ sudo install crun /usr/bin/crun
30+ ...
Original file line number Diff line number Diff line change 1010 unit : # make sure build/ci work properly
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v3
13+ - uses : actions/checkout@v4
14+ - name : Install crun
15+ uses : ./.github/actions/fix-crun
16+ with :
17+ checksums : CHECKSUMS
1418 - run : |
1519 npm install
1620 npm run all
8690 runs-on : ${{ matrix.runner }}
8791 steps :
8892 - uses : docker/setup-qemu-action@v2
89- - uses : actions/checkout@v3
93+ - uses : actions/checkout@v4
94+ - name : Install crun
95+ uses : ./.github/actions/fix-crun
96+ with :
97+ checksums : CHECKSUMS
9098 - uses : ./
9199 id : snapcraft
92100 with :
Original file line number Diff line number Diff line change 1+ 4f170aaa10d2ef02560cfb60b67ddfa1a83b1b4f7018227e9cb23a6af3955ec1 crun
You can’t perform that action at this time.
0 commit comments