Skip to content

Commit e22158c

Browse files
committed
Fix CI
1 parent 3d41450 commit e22158c

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/lint.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/security.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)