Update .gitea/workflows/ci.yml
update apt sources first
This commit is contained in:
parent
276a8ed3c4
commit
50558d87d2
1 changed files with 4 additions and 2 deletions
|
|
@ -10,7 +10,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Install rustup
|
- name: Install rustup
|
||||||
run: |
|
run: |
|
||||||
apt install curl
|
apt update -m
|
||||||
|
apt install -y curl
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
cargo build
|
cargo build
|
||||||
|
|
||||||
|
|
@ -19,6 +20,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Install rustup
|
- name: Install rustup
|
||||||
run: |
|
run: |
|
||||||
apt install curl
|
apt update -m
|
||||||
|
apt install -y curl
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
cargo build
|
cargo build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue