Skip to content

Commit 0ac601f

Browse files
committed
Fix CI failures
1 parent db2e095 commit 0ac601f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919

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)"
22+
run: echo "CURRENT_WEEK=$(date +%V)" >> $GITHUB_ENV
2323

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 "::set-env name=CURRENT_WEEK::$(date +%V)"
2727

2828
- name: Install latest ${{ matrix.rust }}
2929
uses: actions-rs/toolchain@v1

.github/workflows/lint.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v2
1414

1515
- 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)"
1717

1818
- uses: actions-rs/toolchain@v1
1919
with:

.github/workflows/security.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v2
1414

1515
- 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
1717

1818
- uses: actions-rs/audit-check@v1
1919
with:

0 commit comments

Comments
 (0)