mirror of
https://github.com/sstent/NixOS_ARM_SDImages.git
synced 2025-12-06 06:01:42 +00:00
created action
This commit is contained in:
30
.github/workflows/main.yml
vendored
Normal file
30
.github/workflows/main.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
on: [push, pull_request,workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
armv7_job:
|
||||
# The host should always be Linux
|
||||
runs-on: ubuntu-22.04
|
||||
name: Build on ubuntu-18.04 armv7
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: uraimo/run-on-arch-action@v2
|
||||
name: Run commands
|
||||
id: runcmd
|
||||
with:
|
||||
arch: aarch64
|
||||
distro: ubuntu-22.04
|
||||
|
||||
# Not required, but speeds up builds by storing container images in
|
||||
# a GitHub package registry.
|
||||
githubToken: ${{ github.token }}
|
||||
|
||||
# Set an output parameter `uname` for use in subsequent steps
|
||||
run: |
|
||||
uname -a
|
||||
docker ps
|
||||
echo ::set-output name=uname::$(uname -a)
|
||||
|
||||
- name: Get the output
|
||||
# Echo the `uname` output parameter from the `runcmd` step
|
||||
run: |
|
||||
echo "The uname output was ${{ steps.runcmd.outputs.uname }}"
|
||||
Reference in New Issue
Block a user