File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 1313jobs :
1414 build :
1515 name : build with snapcraft
16- runs-on : ubuntu-latest
16+ runs-on : ${{ matrix.os }}
1717 strategy :
1818 matrix :
19- platform :
20- - amd64
21- - arm64
22- - armhf
19+ include :
20+ - platform : amd64
21+ os : ubuntu-24.04
22+ - platform : arm64
23+ os : ubuntu-24.04-arm64
24+ - platform : armhf
25+ os : ubuntu-24.04-arm64
2326 steps :
2427 - name : Check out Git repository
2528 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -31,12 +34,10 @@ jobs:
3134 - name : Generate template file
3235 run : ruby generate.rb ${{ env.RUBY_VERSION }}
3336
34- - uses : docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0
35-
36- - uses : diddlesnaps/snapcraft-multiarch-action@cfd7a246fad6bea65bb92f69a1c8d07898c231e5 # v1.9.0
37+ - uses : snapcore/action-build@3bdaa03e1ba6bf59a65f84a751d943d549a54e79 # v1.3.0
3738 id : snapcraft
3839 with :
39- architecture : ${{ matrix.platform }}
40+ snapcraft-args : --target-arch= ${{ matrix.platform }} --enable-experimental-target-arch
4041
4142 - name : Store ABI version
4243 run : echo "ABI_VERSION=$(echo ${{ env.RUBY_VERSION }} | cut -d '.' -f 1-2)" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments