File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ jobs:
19
19
20
20
- name : Set current week of the year in environnement
21
21
if : startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macOS')
22
- run : echo "::set-env name= CURRENT_WEEK:: $(date +%V)"
22
+ run : echo "CURRENT_WEEK= $(date +%V)" >> $GITHUB_ENV
23
23
24
24
- name : Set current week of the year in environnement
25
25
if : startsWith(matrix.os, 'windows')
26
- run : echo "::set-env name=CURRENT_WEEK::$(Get-Date -UFormat %V)"
26
+ run : echo "::set-env name=CURRENT_WEEK::$(date + %V)"
27
27
28
28
- name : Install latest ${{ matrix.rust }}
29
29
uses : actions-rs/toolchain@v1
Original file line number Diff line number Diff line change 13
13
- uses : actions/checkout@v2
14
14
15
15
- name : Set current week of the year in environnement
16
- run : echo "::set-env name=CURRENT_WEEK::$(date + %V)"
16
+ run : echo "::set-env name=CURRENT_WEEK::$(Get-Date -UFormat %V)"
17
17
18
18
- uses : actions-rs/toolchain@v1
19
19
with :
Original file line number Diff line number Diff line change 13
13
- uses : actions/checkout@v2
14
14
15
15
- name : Set current week of the year in environnement
16
- run : echo "::set-env name= CURRENT_WEEK:: $(date +%V)"
16
+ run : echo "CURRENT_WEEK= $(date +%V)" >> $GITHUB_ENV
17
17
18
18
- uses : actions-rs/audit-check@v1
19
19
with :
You can’t perform that action at this time.
0 commit comments