From 77998a9f0a81f3f169611b202371aff0cea48ad7 Mon Sep 17 00:00:00 2001 From: Stjepan Glavina Date: Sat, 28 Nov 2020 21:17:26 +0100 Subject: [PATCH] Fix CI --- .github/workflows/build-and-test.yaml | 4 ++-- .github/workflows/lint.yaml | 2 +- .github/workflows/security.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 6106699..90ec5c2 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -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 diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index bc3d50a..8cc0865 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -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: diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml index 8f722e7..672e506 100644 --- a/.github/workflows/security.yaml +++ b/.github/workflows/security.yaml @@ -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: