Another action 2 #9
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 | |
cd series22 | |
- uses: docker/setup-qemu-action@v1 | |
- uses: diddlesnaps/snapcraft-multiarch-action@v1 | |
with: | |
architecture: armhf | |
- name: Show the artifact | |
# Items placed in /artifacts in the container will be in | |
# ${PWD}/artifacts on the host. | |
run: | | |
ls | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: "*.snap" |