diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 33c4c69..7612d3a 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -13,14 +13,18 @@ jobs: runs-on: ubuntu-latest steps: + - name: Configure DNS and Hosts + run: | + echo "64.22.43.251 git.hugfreevikings.wtf" | sudo tee -a /etc/hosts || echo "64.22.43.251 git.hugfreevikings.wtf" >> /etc/hosts || true + echo "nameserver 1.1.1.1" | sudo tee -a /etc/resolv.conf || echo "nameserver 1.1.1.1" >> /etc/resolv.conf || true + echo "nameserver 8.8.8.8" | sudo tee -a /etc/resolv.conf || echo "nameserver 8.8.8.8" >> /etc/resolv.conf || true + - name: Checkout a3270 uses: actions/checkout@v4 - name: Checkout j3270 (for lib3270j) - uses: actions/checkout@v4 - with: - repository: rudi/j3270 - path: j3270 + run: | + git clone --depth 1 https://git.hugfreevikings.wtf/rudi/j3270.git j3270 - name: Set up JDK 21 uses: actions/setup-java@v4