Basic example workflow points to master #238
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
name: Basic Example | |
on: [push, pull_request] | |
jobs: | |
armv7_job: | |
# The host should always be linux | |
runs-on: ubuntu-22.04 | |
name: Build on ubuntu-22.04 armv7 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: uraimo/run-on-arch-action@master | |
name: Run commands | |
id: runcmd | |
with: | |
arch: armv7 | |
distro: ubuntu22.04 | |
# Not required, but speeds up builds | |
#githubToken: ${{ github.token }} | |
run: | | |
uname -a | |
echo ::set-output name=uname::$(uname -a) | |
- name: Get the output | |
run: | | |
echo "The uname output was ${{ steps.runcmd.outputs.uname }}" |