Update @actions/core for set-env deprecation and add pre-commit config

This commit is contained in:
mtkennerly 2020-10-08 22:11:18 -04:00
parent 2ffd60cf4c
commit f33a36717a
7 changed files with 125 additions and 26 deletions

View file

@ -43,5 +43,8 @@ jobs:
env-var: MY_VERSION
command: dunamai from git
args: --style semver
- run: echo $MY_VERSION from environment variable
- if: matrix.os != 'windows-latest'
run: echo $MY_VERSION from environment variable
- if: matrix.os == 'windows-latest'
run: echo $env:MY_VERSION from environment variable
- run: echo ${{ steps.dunamai.outputs.version }} from outputs