From 85a046d40a8523d82ed5d80b7bda079a76195d23 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 19 Nov 2020 06:02:25 +0300 Subject: bit prettier YAML --- .github/workflows/test.yml | 12 +++++------- action.yml | 7 +++++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e5087e6..94ec72e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,15 +13,13 @@ jobs: strategy: fail-fast: false matrix: - os: ['windows-2019', 'windows-2016'] - arch: ['x86', 'x64'] + os: [windows-2019, windows-2016] + arch: [x86, x64] include: # Prettier run names. - - os: windows-2019 - name: VS 2019 - - os: windows-2016 - name: VS 2017 + - {os: windows-2019, name: VS 2019} + - {os: windows-2016, name: VS 2017} runs-on: '${{ matrix.os }}' @@ -51,4 +49,4 @@ jobs: - name: Build foo.exe run: | cl.exe /EHsc foo.cpp - ./foo.exe + .\foo.exe diff --git a/action.yml b/action.yml index 0472804..ffc04bf 100644 --- a/action.yml +++ b/action.yml @@ -1,10 +1,12 @@ name: Visual Studio shell description: Set up Visual Studio paths and environment variables + inputs: arch: - description: 'Target architecture' + description: Target architecture required: false - default: 'x64' + default: x64 + runs: using: composite steps: @@ -117,6 +119,7 @@ runs: Get-ChildItem env: | %{ echo "$($_.Name)=$($_.Value)" >> $env:GITHUB_ENV } } shell: pwsh + branding: icon: star color: green -- cgit v1.2.3