updated github actions workflow

This commit is contained in:
Vomitblood 2024-08-08 01:48:10 +08:00
parent 310dee7050
commit 6db3ea021b
2 changed files with 3 additions and 1 deletions

View file

@ -19,7 +19,7 @@ jobs:
run: |
apt update && apt install -y curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
echo "source $HOME/.cargo/env" >> $GITHUB_ENV
echo ". $HOME/.cargo/env" >> $GITHUB_ENV
shell: bash
- name: Install Git

View file

@ -11,6 +11,8 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:22.04
steps:
- name: Install Rust