summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYuki Okushi <yuki.okushi@huawei.com>2021-06-09 10:33:03 +0900
committerYuki Okushi <yuki.okushi@huawei.com>2021-06-09 10:33:03 +0900
commit79fc7016cd89a3f3268375487432b4a5d587e136 (patch)
tree2a1624936bcf7022bae0c8ab99f5809ff7b6a50e /.github
parent34a4f11a2e53862d1c956e954a89d605ffbfbe42 (diff)
downloadrust-libc-79fc7016cd89a3f3268375487432b4a5d587e136.tar.gz
Run rustup self-update as a separated step
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/bors.yml3
-rw-r--r--.github/workflows/main.yml3
2 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/bors.yml b/.github/workflows/bors.yml
index 5073de9993..241940a823 100644
--- a/.github/workflows/bors.yml
+++ b/.github/workflows/bors.yml
@@ -72,6 +72,9 @@ jobs:
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"
- uses: actions/checkout@v2
+ - name: Self-update rustup
+ run: rustup self update
+ shell: bash
- name: Setup Rust toolchain
run: TARGET=${{ matrix.target }} sh ./ci/install-rust.sh
shell: bash
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 6b5f5daf97..06f02c2660 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -64,6 +64,9 @@ jobs:
- target: i686-pc-windows-msvc
steps:
- uses: actions/checkout@v2
+ - name: Self-update rustup
+ run: rustup self update
+ shell: bash
- name: Setup Rust toolchain
run: TARGET=${{ matrix.target }} sh ./ci/install-rust.sh
shell: bash