File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 4848 with :
4949 snap : ${{ steps.snapcraft.outputs.snap }}
5050 release : ${{ env.ABI_VERSION }}/edge
51+
52+ build-armhf :
53+ name : build armhf with snapcraft
54+ runs-on : ubuntu-latest
55+ steps :
56+ - name : Check out Git repository
57+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
58+
59+ - name : Store Ruby version
60+ run : |
61+ echo "RUBY_VERSION=${{ github.event.client_payload.ruby_version || github.event.inputs.ruby_version }}" >> $GITHUB_ENV
62+
63+ - name : Generate template file
64+ run : ruby generate.rb ${{ env.RUBY_VERSION }}
65+
66+ - uses : docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0
67+
68+ - uses : diddlesnaps/snapcraft-multiarch-action@cfd7a246fad6bea65bb92f69a1c8d07898c231e5 # v1.9.0
69+ id : snapcraft
70+ with :
71+ architecture : armhf
72+
73+ - name : Store ABI version
74+ run : echo "ABI_VERSION=$(echo ${{ env.RUBY_VERSION }} | cut -d '.' -f 1-2)" >> $GITHUB_ENV
75+
76+ - uses : snapcore/action-publish@214b86e5ca036ead1668c79afb81e550e6c54d40 # v1.2.0
77+ env :
78+ SNAPCRAFT_STORE_CREDENTIALS : ${{ secrets.SNAPCRAFT_TOKEN }}
79+ with :
80+ snap : ${{ steps.snapcraft.outputs.snap }}
81+ release : ${{ env.ABI_VERSION }}/edge
You can’t perform that action at this time.
0 commit comments