Another action 2 #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
jobs: | |
build_job: | |
# The host should always be linux | |
runs-on: ubuntu-22.04 | |
name: Build on ubuntu22.04 armhf | |
# Run steps on a matrix of 4 arch/distro combinations | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Prepare the repo | |
run: | | |
cd checkbox-core-snap/ | |
./prepare.sh series22 | |
- uses: docker/setup-qemu-action@v1 | |
- uses: diddlesnaps/snapcraft-multiarch-action@v1 | |
with: | |
architecture: armhf | |
path: "checkbox/checkbox-core-snap/series22" | |
- name: Show the artifact | |
# Items placed in /artifacts in the container will be in | |
# ${PWD}/artifacts on the host. | |
run: | | |
ls checkbox/checkbox-core-snap/series22 | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: "checkbox/checkbox-core-snap/series22/*.snap" |