Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Stjepan Glavina committed Dec 18, 2020
1 parent 4fd1c0c commit 91b9d4e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 91b9d4e

Please sign in to comment.