Skip to content

Commit

Permalink
add 68 os types
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Falourd <[email protected]>
  • Loading branch information
GuillaumeFalourd committed Sep 19, 2023
1 parent 962ed48 commit ef68940
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/68-ostypes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: 68 - OS TYPES

on:
workflow_dispatch:

jobs:
test-ostype:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- run: |
echo $OSTYPE
shell: bash
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,3 +306,7 @@ This workflow illustrates how to manipulate matrix object to perform different o
[![67 - From JSON Env Var](https://github.com/GuillaumeFalourd/poc-github-actions/actions/workflows/67-fromjson-env-var.yml/badge.svg)](https://github.com/GuillaumeFalourd/poc-github-actions/actions/workflows/67-fromjson-env-var.yml)

This workflow illustrates how to extract a specific item from a JSON list stored in a environment variable dynamically.

[![68 - OS Types](https://github.com/GuillaumeFalourd/poc-github-actions/actions/workflows/68-ostypes.yml/badge.svg)](https://github.com/GuillaumeFalourd/poc-github-actions/actions/workflows/68-ostypes.yml)

This workflow shows the os type value for each github runner os.

0 comments on commit ef68940

Please sign in to comment.