aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-11-19 06:02:25 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-11-19 06:02:25 +0300
commit85a046d40a8523d82ed5d80b7bda079a76195d23 (patch)
tree0475e7be5720ac753c5728243193c32a48cbd3e4
parentREADME: add CI badge (diff)
downloadvs-shell-85a046d40a8523d82ed5d80b7bda079a76195d23.tar.gz
vs-shell-85a046d40a8523d82ed5d80b7bda079a76195d23.zip
bit prettier YAML
-rw-r--r--.github/workflows/test.yml12
-rw-r--r--action.yml7
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