From 6e8d90d8c882bef053755a335e7a38c151cf16c8 Mon Sep 17 00:00:00 2001 From: fabolous005 Date: Thu, 23 Nov 2023 17:39:40 +0100 Subject: [PATCH] try to fix hosts in ci --- .gitea/workflows/build.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index fa6fe37..c20189d 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -1,7 +1,5 @@ on: [push] - name: CI - jobs: build_and_test: name: Rust project @@ -12,6 +10,10 @@ jobs: with: toolchain: stable - uses: actions-rs/cargo@v1 + container: + image: actions-rs/cargov1 + options: --add-host server1:192.168.2.101 \ + --add-host server2:192.168.2.102 with: command: build args: --release --all-features