Skip to content

Commit 914275f

Browse files
committed
Validate OS & Arch combination
1 parent d7b2009 commit 914275f

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

action.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
name: "Setup Codee Analyzer & Formatter"
22
description: "Setup Codee Analyzer & Formatter"
33
author: "Igor S. Gerasimov"
4+
5+
runs:
6+
using: composite
7+
steps:
8+
- name: Check platform compability
9+
if: ${{ !(runner.os == 'Windows' && runner.arch == 'X64') || (runner.os == 'Linux' && (runner.arch == 'X64' || runner.arch == 'ARM64')) }}
10+
shell: bash
11+
run: |
12+
echo "Not supported combination of OS & Arch: ${{ runner.os }} & ${{ runner.arch }}"
13+
exit 1

0 commit comments

Comments
 (0)