mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
GHA: Try tightening up, with 'uname -a'
This commit is contained in:
parent
dddd7ce0b4
commit
751931a917
1 changed files with 5 additions and 15 deletions
|
@ -31,24 +31,15 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
#- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
#- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
||||||
#- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
#- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
||||||
#- name: Check out repository code
|
#- name: Dump GitHub context (typically almost 500 lines)
|
||||||
- name: Dump GitHub context
|
# env:
|
||||||
env:
|
# GITHUB_CONTEXT: ${{ toJSON(github) }}
|
||||||
GITHUB_CONTEXT: ${{ toJSON(github) }}
|
# run: echo "$GITHUB_CONTEXT"
|
||||||
run: echo "$GITHUB_CONTEXT"
|
|
||||||
- name: Dump matrix context
|
- name: Dump matrix context
|
||||||
env:
|
env:
|
||||||
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
|
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
|
||||||
run: echo "$MATRIX_CONTEXT"
|
run: echo "$MATRIX_CONTEXT"
|
||||||
- uses: actions/checkout@v3.1.0
|
- uses: actions/checkout@v3.1.0
|
||||||
- name: Dump GitHub context
|
|
||||||
env:
|
|
||||||
GITHUB_CONTEXT: ${{ toJSON(github) }}
|
|
||||||
run: echo "$GITHUB_CONTEXT"
|
|
||||||
- name: Dump matrix context
|
|
||||||
env:
|
|
||||||
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
|
|
||||||
run: echo "$MATRIX_CONTEXT"
|
|
||||||
- uses: pguyot/arm-runner-action@v2
|
- uses: pguyot/arm-runner-action@v2
|
||||||
with:
|
with:
|
||||||
image_additional_mb: 1024
|
image_additional_mb: 1024
|
||||||
|
@ -58,8 +49,7 @@ jobs:
|
||||||
copy_repository_path: /opt/iiab/iiab
|
copy_repository_path: /opt/iiab/iiab
|
||||||
commands: |
|
commands: |
|
||||||
echo "🍏 This job's status is ${{ job.status }}."
|
echo "🍏 This job's status is ${{ job.status }}."
|
||||||
echo -e "Complete 'runner context':\n{{ $matrix }}"
|
uname -a # uname -srm
|
||||||
uname -srm
|
|
||||||
grep Model /proc/cpuinfo
|
grep Model /proc/cpuinfo
|
||||||
whoami # runner
|
whoami # runner
|
||||||
pwd # /home/runner/work/iiab/iiab == $GITHUB_WORKSPACE == ${{ github.workspace }}
|
pwd # /home/runner/work/iiab/iiab == $GITHUB_WORKSPACE == ${{ github.workspace }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue