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:
1616 rust : [nightly, beta, stable]
1717 steps :
1818 - uses : actions/checkout@v2
19-
19+
2020 - name : Set current week of the year in environnement
2121 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+
2424 - name : Set current week of the year in environnement
2525 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
2727
2828 - name : Install latest ${{ matrix.rust }}
2929 uses : actions-rs/toolchain@v1
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v2
14-
14+
1515 - 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+
1818 - uses : actions-rs/toolchain@v1
1919 with :
2020 toolchain : stable
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v2
14-
14+
1515 - 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+
1818 - uses : actions-rs/audit-check@v1
1919 with :
2020 token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments