Migrate set-env to GITHUB_ENV

This commit is contained in:
Matt Borgerson 2021-03-03 03:56:09 -07:00
parent cb9c6ffbec
commit c29877eb26

View File

@ -13,11 +13,11 @@ jobs:
env:
BUILD_TAG:
steps:
- name: Define Build Tag
shell: python
- name: Create Build Tag
shell: bash
run: |
from datetime import datetime
print('::set-env name=BUILD_TAG::v' + datetime.now().strftime('%y%m%d%H%M%S'))
export BUILD_TAG=build-$(date -u +'%Y%m%d%H%M')
echo "BUILD_TAG=$BUILD_TAG" >> $GITHUB_ENV
- name: Install MSYS2 & Dependencies
run: |
choco install msys2 --no-progress