This commit is contained in:
Stjepan Glavina 2020-11-28 21:17:26 +01:00
parent f7d0eba792
commit 77998a9f0a
3 changed files with 4 additions and 4 deletions

View File

@ -19,11 +19,11 @@ jobs:
- name: Set current week of the year in environnement
if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macOS')
run: echo "::set-env name=CURRENT_WEEK::$(date +%V)"
run: echo "CURRENT_WEEK=$(date +%V)" >> $GITHUB_ENV
- name: Set current week of the year in environnement
if: startsWith(matrix.os, 'windows')
run: echo "::set-env name=CURRENT_WEEK::$(Get-Date -UFormat %V)"
run: echo "CURRENT_WEEK=$(Get-Date -UFormat %V)" >> $GITHUB_ENV
- name: Install latest ${{ matrix.rust }}
uses: actions-rs/toolchain@v1

View File

@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- name: Set current week of the year in environnement
run: echo "::set-env name=CURRENT_WEEK::$(date +%V)"
run: echo "CURRENT_WEEK=$(date +%V)" >> $GITHUB_ENV
- uses: actions-rs/toolchain@v1
with:

View File

@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- name: Set current week of the year in environnement
run: echo "::set-env name=CURRENT_WEEK::$(date +%V)"
run: echo "CURRENT_WEEK=$(date +%V)" >> $GITHUB_ENV
- uses: actions-rs/audit-check@v1
with: