forked from uraimo/run-on-arch-action
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 989 Bytes
/
test-amd64.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
on: [push]
jobs:
testactions_buster:
runs-on: ubuntu-latest
name: A job to test the multi architecture action
steps:
- name: Run some commands on amd64
id: runcmd
uses: baetyl/run-on-arch-action@master
with:
architecture: amd64
distribution: buster
run: |
go version
echo ::set-output name=uname::$(go version)
- name: Get the output
run: |
echo "The uname output was ${{ steps.runcmd.outputs.uname }}"
testactions_stretch:
runs-on: ubuntu-latest
name: A job to test the multi architecture action
steps:
- name: Run some commands on amd64
id: runcmd
uses: baetyl/run-on-arch-action@master
with:
architecture: amd64
distribution: stretch
run: |
go version
echo ::set-output name=uname::$(go version)
- name: Get the output
run: |
echo "The uname output was ${{ steps.runcmd.outputs.uname }}"