Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 34039db92c | |||
| bf9ae51702 | |||
| 7a02eee277 | |||
| d6daed62b8 | |||
| 0548f54168 | |||
| 3fe8de2e32 | |||
| f40dae5a03 | |||
| ab3ffbbec8 | |||
| da5c319a5b | |||
| 5e5d0c8ecf | |||
| b5e22f3ca5 | |||
| 8abf07a0d4 | |||
| 350ae269f2 | |||
| e8604e2c02 | |||
| c9995f8578 |
+11
-17
@@ -19,23 +19,17 @@ jobs:
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||
|
||||
- name: Add Gitea SSH Host Key
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
printf "Host thunderobot\n HostName 100.93.226.13\n Port 222\n StrictHostKeyChecking no\n" > ~/.ssh/config
|
||||
chmod 600 ~/.ssh/config
|
||||
- name: Install tools
|
||||
run: apt-get update -qq && apt-get install -y -qq curl unzip
|
||||
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: danchie/tekton
|
||||
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||
|
||||
- name: Install tools
|
||||
run: apt-get update -qq && apt-get install -y -qq docker.io curl unzip
|
||||
|
||||
- name: Connect job container to gitea_default network
|
||||
run: docker network connect gitea_default $(hostname)
|
||||
run: |
|
||||
# Use manual HTTP clone to bypass the complex SSH/Tailscale/Port222 networking completely.
|
||||
# We use the internal gitea docker network IP and port 3000 directly.
|
||||
git config --global credential.helper store
|
||||
echo "http://adtpdn:${{ secrets.TEKTON_RELEASE_TOKEN }}@172.18.0.2:3000" > ~/.git-credentials
|
||||
git clone http://172.18.0.2:3000/danchie/tekton.git .
|
||||
git checkout $TAG_NAME
|
||||
|
||||
- name: Setup Godot (Cached)
|
||||
run: |
|
||||
@@ -68,13 +62,13 @@ jobs:
|
||||
run: |
|
||||
mkdir -p build/windows
|
||||
cp addons/godotsteam/libgodotsteam* build/windows/ 2>/dev/null || true
|
||||
godot --headless --export-release "Windows Desktop" build/windows/tekton_armageddon_windows_${TAG_NAME}.zip 2>&1 | tail -5
|
||||
godot --headless --export-release "Windows Desktop" build/windows/tekton_armageddon_windows.exe || true
|
||||
cd build/windows && zip -r ../tekton_armageddon_windows_${TAG_NAME}.zip .
|
||||
|
||||
- name: Export Linux
|
||||
run: |
|
||||
mkdir -p build/linux
|
||||
godot --headless --export-release "Linux/X11" build/linux/tekton_armageddon_linux_${TAG_NAME}.zip 2>&1 | tail -5
|
||||
godot --headless --export-release "Linux/X11" build/linux/tekton_armageddon_linux.x86_64 || true
|
||||
cd build/linux && zip -r ../tekton_armageddon_linux_${TAG_NAME}.zip .
|
||||
|
||||
- name: Export macOS
|
||||
|
||||
Reference in New Issue
Block a user