This commit is contained in:
@@ -11,6 +11,15 @@ jobs:
|
||||
image: ci-java21-node20:latest
|
||||
|
||||
steps:
|
||||
- name: Map gitea into /etc/hosts
|
||||
if: ${{ always() }}
|
||||
shell: bash
|
||||
run: |
|
||||
set -euxo pipefail
|
||||
GW="$(ip route | awk '/default/ {print $3}')"
|
||||
echo "$GW gitea" >> /etc/hosts
|
||||
getent hosts gitea
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user