mirror of
https://github.com/wiiu-env/MochaPayload.git
synced 2024-11-17 21:49:17 +01:00
[Workflow] Use Environment Files instead of ::set-env
This commit is contained in:
parent
e73a3fef8f
commit
bebb49c3b9
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -25,8 +25,8 @@ jobs:
|
|||||||
- name: Get environment variables
|
- name: Get environment variables
|
||||||
id: get_repository_name
|
id: get_repository_name
|
||||||
run: |
|
run: |
|
||||||
echo ::set-env name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//")
|
echo REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//") >> $GITHUB_ENV
|
||||||
echo ::set-env name=DATETIME::$(echo $(date '+%Y%m%d-%H%M%S'))
|
echo DATETIME=$(echo $(date '+%Y%m%d-%H%M%S')) >> $GITHUB_ENV
|
||||||
- uses: actions/download-artifact@master
|
- uses: actions/download-artifact@master
|
||||||
with:
|
with:
|
||||||
name: binary
|
name: binary
|
||||||
|
Loading…
Reference in New Issue
Block a user