mirror of
https://github.com/xemu-project/xemu-msys2.git
synced 2024-11-26 19:40:37 +00:00
Migrate set-env to GITHUB_ENV
This commit is contained in:
parent
cb9c6ffbec
commit
c29877eb26
8
.github/workflows/gen_msys2_env.yml
vendored
8
.github/workflows/gen_msys2_env.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user