File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ jobs:
16
16
rust : [nightly, beta, stable]
17
17
steps :
18
18
- uses : actions/checkout@v2
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)"
23
-
22
+ run : echo "CURRENT_WEEK= $(date +%V)" >> $GITHUB_ENV
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 "CURRENT_WEEK= $(Get-Date -UFormat %V)" >> $GITHUB_ENV
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 @@ -11,10 +11,10 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
steps :
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)"
17
-
16
+ run : echo "CURRENT_WEEK= $(date +%V)" >> $GITHUB_ENV
17
+
18
18
- uses : actions-rs/toolchain@v1
19
19
with :
20
20
toolchain : stable
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
steps :
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)"
17
-
16
+ run : echo "CURRENT_WEEK= $(date +%V)" >> $GITHUB_ENV
17
+
18
18
- uses : actions-rs/audit-check@v1
19
19
with :
20
20
token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments