mirror of
https://github.com/mtkennerly/dunamai-action.git
synced 2025-06-19 13:48:05 +00:00
Update @actions/core for set-env deprecation and add pre-commit config
This commit is contained in:
parent
2ffd60cf4c
commit
f33a36717a
7 changed files with 125 additions and 26 deletions
5
.github/workflows/main.yaml
vendored
5
.github/workflows/main.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue