Compare commits
2
Commits
6da55003e2
...
64630662ac
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
64630662ac | ||
|
|
187b530cbf |
@@ -26,12 +26,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||||
|
ssh-strict: false
|
||||||
|
|
||||||
- name: Setup Godot
|
- name: Setup Godot
|
||||||
uses: firebelley/godot-action@v3
|
run: |
|
||||||
with:
|
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_linux.x86_64.zip
|
||||||
godot-version: '4.6'
|
unzip -q Godot_v4.6-stable_linux.x86_64.zip
|
||||||
engine-type: standard
|
sudo mv Godot_v4.6-stable_linux.x86_64 /usr/local/bin/godot
|
||||||
|
chmod +x /usr/local/bin/godot
|
||||||
|
|
||||||
- name: Install export templates
|
- name: Install export templates
|
||||||
run: |
|
run: |
|
||||||
@@ -58,12 +62,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||||
|
ssh-strict: false
|
||||||
|
|
||||||
- name: Setup Godot
|
- name: Setup Godot
|
||||||
uses: firebelley/godot-action@v3
|
run: |
|
||||||
with:
|
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_linux.x86_64.zip
|
||||||
godot-version: '4.6'
|
unzip -q Godot_v4.6-stable_linux.x86_64.zip
|
||||||
engine-type: standard
|
sudo mv Godot_v4.6-stable_linux.x86_64 /usr/local/bin/godot
|
||||||
|
chmod +x /usr/local/bin/godot
|
||||||
|
|
||||||
- name: Install export templates
|
- name: Install export templates
|
||||||
run: |
|
run: |
|
||||||
@@ -90,12 +98,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||||
|
ssh-strict: false
|
||||||
|
|
||||||
- name: Setup Godot
|
- name: Setup Godot
|
||||||
uses: firebelley/godot-action@v3
|
run: |
|
||||||
with:
|
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_linux.x86_64.zip
|
||||||
godot-version: '4.6'
|
unzip -q Godot_v4.6-stable_linux.x86_64.zip
|
||||||
engine-type: standard
|
sudo mv Godot_v4.6-stable_linux.x86_64 /usr/local/bin/godot
|
||||||
|
chmod +x /usr/local/bin/godot
|
||||||
|
|
||||||
- name: Install export templates
|
- name: Install export templates
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -0,0 +1,42 @@
|
|||||||
|
name: Build and Upload Binaries
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: barichello/godot-ci:4.2.1
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
run: |
|
||||||
|
mkdir -p ~/.ssh
|
||||||
|
echo "${{ secrets.TEKTON_SSH_KEY }}" > ~/.ssh/id_rsa
|
||||||
|
chmod 600 ~/.ssh/id_rsa
|
||||||
|
ssh-keyscan git.klud.top >> ~/.ssh/known_hosts
|
||||||
|
git clone git@git.klud.top:danchie/tekton.git .
|
||||||
|
git checkout ${{ github.ref_name }}
|
||||||
|
|
||||||
|
- name: Build Windows
|
||||||
|
run: mkdir -p build && godot --headless --export-release "Windows Desktop" build/tekton.exe
|
||||||
|
|
||||||
|
- name: Build Linux
|
||||||
|
run: godot --headless --export-release "Linux/X11" build/tekton.x86_64
|
||||||
|
|
||||||
|
- name: Upload Windows Binary
|
||||||
|
run: |
|
||||||
|
curl -X POST \
|
||||||
|
-H "Authorization: token ${{ secrets.TEKTON_RELEASE_TOKEN }}" \
|
||||||
|
-H "Content-Type: multipart/form-data" \
|
||||||
|
-F "attachment=@build/tekton.exe" \
|
||||||
|
"https://git.klud.top/api/v1/repos/danchie/tekton/releases/tags/${{ github.ref_name }}"
|
||||||
|
|
||||||
|
- name: Upload Linux Binary
|
||||||
|
run: |
|
||||||
|
curl -X POST \
|
||||||
|
-H "Authorization: token ${{ secrets.TEKTON_RELEASE_TOKEN }}" \
|
||||||
|
-H "Content-Type: multipart/form-data" \
|
||||||
|
-F "attachment=@build/tekton.x86_64" \
|
||||||
|
"https://git.klud.top/api/v1/repos/danchie/tekton/releases/tags/${{ github.ref_name }}"
|
||||||
+32
-16
@@ -14,12 +14,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||||
|
ssh-strict: false
|
||||||
|
|
||||||
- name: Setup Godot
|
- name: Setup Godot
|
||||||
uses: firebelley/godot-action@v3
|
run: |
|
||||||
with:
|
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_linux.x86_64.zip
|
||||||
godot-version: '4.6'
|
unzip -q Godot_v4.6-stable_linux.x86_64.zip
|
||||||
engine-type: standard
|
sudo mv Godot_v4.6-stable_linux.x86_64 /usr/local/bin/godot
|
||||||
|
chmod +x /usr/local/bin/godot
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -39,12 +43,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||||
|
ssh-strict: false
|
||||||
|
|
||||||
- name: Setup Godot
|
- name: Setup Godot
|
||||||
uses: firebelley/godot-action@v3
|
run: |
|
||||||
with:
|
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_linux.x86_64.zip
|
||||||
godot-version: '4.6'
|
unzip -q Godot_v4.6-stable_linux.x86_64.zip
|
||||||
engine-type: standard
|
sudo mv Godot_v4.6-stable_linux.x86_64 /usr/local/bin/godot
|
||||||
|
chmod +x /usr/local/bin/godot
|
||||||
|
|
||||||
- name: Install export templates
|
- name: Install export templates
|
||||||
run: |
|
run: |
|
||||||
@@ -71,12 +79,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||||
|
ssh-strict: false
|
||||||
|
|
||||||
- name: Setup Godot
|
- name: Setup Godot
|
||||||
uses: firebelley/godot-action@v3
|
run: |
|
||||||
with:
|
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_linux.x86_64.zip
|
||||||
godot-version: '4.6'
|
unzip -q Godot_v4.6-stable_linux.x86_64.zip
|
||||||
engine-type: standard
|
sudo mv Godot_v4.6-stable_linux.x86_64 /usr/local/bin/godot
|
||||||
|
chmod +x /usr/local/bin/godot
|
||||||
|
|
||||||
- name: Install export templates
|
- name: Install export templates
|
||||||
run: |
|
run: |
|
||||||
@@ -103,12 +115,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||||
|
ssh-strict: false
|
||||||
|
|
||||||
- name: Setup Godot
|
- name: Setup Godot
|
||||||
uses: firebelley/godot-action@v3
|
run: |
|
||||||
with:
|
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_linux.x86_64.zip
|
||||||
godot-version: '4.6'
|
unzip -q Godot_v4.6-stable_linux.x86_64.zip
|
||||||
engine-type: standard
|
sudo mv Godot_v4.6-stable_linux.x86_64 /usr/local/bin/godot
|
||||||
|
chmod +x /usr/local/bin/godot
|
||||||
|
|
||||||
- name: Install export templates
|
- name: Install export templates
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -22,12 +22,15 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||||
|
ssh-strict: false
|
||||||
|
|
||||||
- name: Setup Godot
|
- name: Setup Godot
|
||||||
uses: firebelley/godot-action@v3
|
run: |
|
||||||
with:
|
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_linux.x86_64.zip
|
||||||
godot-version: '4.6'
|
unzip -q Godot_v4.6-stable_linux.x86_64.zip
|
||||||
engine-type: standard
|
sudo mv Godot_v4.6-stable_linux.x86_64 /usr/local/bin/godot
|
||||||
|
chmod +x /usr/local/bin/godot
|
||||||
|
|
||||||
- name: Install export templates
|
- name: Install export templates
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
+27
-12
@@ -15,12 +15,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||||
|
ssh-strict: false
|
||||||
|
|
||||||
- name: Setup Godot
|
- name: Setup Godot
|
||||||
uses: firebelley/godot-action@v3
|
run: |
|
||||||
with:
|
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_linux.x86_64.zip
|
||||||
godot-version: '4.6'
|
unzip -q Godot_v4.6-stable_linux.x86_64.zip
|
||||||
engine-type: standard
|
sudo mv Godot_v4.6-stable_linux.x86_64 /usr/local/bin/godot
|
||||||
|
chmod +x /usr/local/bin/godot
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -38,12 +42,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||||
|
ssh-strict: false
|
||||||
|
|
||||||
- name: Setup Godot
|
- name: Setup Godot
|
||||||
uses: firebelley/godot-action@v3
|
run: |
|
||||||
with:
|
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_linux.x86_64.zip
|
||||||
godot-version: '4.6'
|
unzip -q Godot_v4.6-stable_linux.x86_64.zip
|
||||||
engine-type: standard
|
sudo mv Godot_v4.6-stable_linux.x86_64 /usr/local/bin/godot
|
||||||
|
chmod +x /usr/local/bin/godot
|
||||||
|
|
||||||
- name: Install export templates
|
- name: Install export templates
|
||||||
run: |
|
run: |
|
||||||
@@ -75,12 +83,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||||
|
ssh-strict: false
|
||||||
|
|
||||||
- name: Setup Godot
|
- name: Setup Godot
|
||||||
uses: firebelley/godot-action@v3
|
run: |
|
||||||
with:
|
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_linux.x86_64.zip
|
||||||
godot-version: '4.6'
|
unzip -q Godot_v4.6-stable_linux.x86_64.zip
|
||||||
engine-type: standard
|
sudo mv Godot_v4.6-stable_linux.x86_64 /usr/local/bin/godot
|
||||||
|
chmod +x /usr/local/bin/godot
|
||||||
|
|
||||||
- name: Check GDScript formatting
|
- name: Check GDScript formatting
|
||||||
run: |
|
run: |
|
||||||
@@ -94,6 +106,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||||
|
ssh-strict: false
|
||||||
|
|
||||||
- name: Run Trivy vulnerability scanner
|
- name: Run Trivy vulnerability scanner
|
||||||
uses: aquasecurity/trivy-action@master
|
uses: aquasecurity/trivy-action@master
|
||||||
|
|||||||
@@ -10,14 +10,14 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: barichello/godot-ci:4.3
|
image: barichello/godot-ci:4.3
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "${{ secrets.TEKTON_SSH_KEY }}" > ~/.ssh/id_rsa
|
echo "${{ secrets.TEKTON_SSH_KEY }}" > ~/.ssh/id_rsa
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
ssh-keyscan git.klud.top >> ~/.ssh/known_hosts
|
ssh-keyscan git.klud.top >> ~/.ssh/known_hosts
|
||||||
git clone git@git.klud.top:danchie/tekton.git .
|
git clone git@git.klud.top:danchie/tekton.git .
|
||||||
git checkout ${{ github.ref_name }}
|
git checkout ${{ github.ref_name }}
|
||||||
|
|
||||||
- name: Build PCK
|
- name: Build PCK
|
||||||
run: godot --headless -s tools/build_patch.gd
|
run: godot --headless -s tools/build_patch.gd
|
||||||
|
|||||||
Reference in New Issue
Block a user