We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18ea9e9 commit c8266bfCopy full SHA for c8266bf
.github/workflows/toolchain-upgrade.yml
@@ -27,13 +27,14 @@ jobs:
27
os: ubuntu-22.04
28
29
- name: Update toolchain config
30
+ env:
31
+ GH_TOKEN: ${{ github.token }}
32
run: |
33
current_toolchain_date=$(grep ^channel rust-toolchain.toml | sed 's/.*nightly-\(.*\)"/\1/')
34
echo "current_toolchain_date=$current_toolchain_date" >> $GITHUB_ENV
35
current_toolchain_epoch=$(date --date $current_toolchain_date +%s)
36
next_toolchain_date=$(date --date "@$(($current_toolchain_epoch + 86400))" +%Y-%m-%d)
37
echo "next_toolchain_date=$next_toolchain_date" >> $GITHUB_ENV
- GH_TOKEN=${{ github.token }}
38
if gh issue list -S \
39
"Toolchain upgrade to nightly-$next_toolchain_date failed" \
40
--json number,title | grep title ; then
0 commit comments