2025-01-18 12:39:28 +01:00
|
|
|
---
|
2025-01-21 22:25:56 +01:00
|
|
|
on:
|
|
|
|
- push
|
|
|
|
- workflow_dispatch
|
2025-01-18 12:39:28 +01:00
|
|
|
jobs:
|
2025-01-21 21:17:47 +01:00
|
|
|
test_1:
|
2025-01-19 21:32:11 +01:00
|
|
|
runs-on: host
|
2025-01-21 21:17:47 +01:00
|
|
|
steps:
|
|
|
|
- name: Test OS
|
|
|
|
shell: sh
|
|
|
|
run: |
|
2025-01-21 22:25:56 +01:00
|
|
|
node <<EOF
|
2025-01-21 21:17:47 +01:00
|
|
|
console.log(process.env.RUNNER_OS)
|
|
|
|
EOF
|
|
|
|
env | grep RUNNER_OS
|
|
|
|
test_2:
|
|
|
|
runs-on: ubuntu-22.04
|
2025-01-19 10:37:22 +01:00
|
|
|
steps:
|
2025-01-19 21:46:36 +01:00
|
|
|
- name: Test OS
|
2025-01-19 21:49:15 +01:00
|
|
|
shell: sh
|
2025-01-19 21:46:36 +01:00
|
|
|
run: |
|
2025-01-21 22:25:56 +01:00
|
|
|
node <<EOF
|
2025-01-19 21:46:36 +01:00
|
|
|
console.log(process.env.RUNNER_OS)
|
2025-01-19 21:49:15 +01:00
|
|
|
EOF
|
2025-01-21 21:08:59 +01:00
|
|
|
env | grep RUNNER_OS
|