diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index d36268d..38a4b45 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 - - run: sudo apt-get install ${{ env.APT_PACKAGES }} + - run: apt update && apt install ${{ env.APT_PACKAGES }} - run: rustup target add "${{ env.TARGET_PLATFORM }}" - run: cargo check --target "${{ env.TARGET_PLATFORM }}" build: @@ -22,6 +22,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 - - run: sudo apt-get install ${{ env.APT_PACKAGES }} + - run: apt update && apt install ${{ env.APT_PACKAGES }} - run: rustup target add "${{ env.TARGET_PLATFORM }}" - run: cargo build --target "${{ env.TARGET_PLATFORM }} \ No newline at end of file