aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2023-07-20 21:31:05 +0200
committer GitHub <noreply@github.com>2023-07-20 21:31:05 +0200
commitf3f240853b15a9f9b7cb561dc6626e7f342c5c74 (patch)
tree73bdffc96980a4b05aa9aa264e137366023456d1 /.github/workflows
parente96eeca97fac5a7c5245b99e820b31b4828a27de (diff)
parent8a8be87279db46c5d50aedcb51b0ef2371c3484d (diff)
Merge pull request #141 from Spartan322/update/godot4.1.1-stable
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/builds.yml29
1 files changed, 12 insertions, 17 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml
index a8fa770..68da880 100644
--- a/.github/workflows/builds.yml
+++ b/.github/workflows/builds.yml
@@ -3,10 +3,9 @@ name: Builds
on: [push, pull_request]
env:
- GODOT_DOWNLOAD_URL: https://downloads.tuxfamily.org/godotengine
- GODOT_VERSION_PREFIX: Godot_v
- GODOT_VERSION_SUFFIX: stable
- GODOT_VERSION: 4.1
+ GODOT_BASE_DOWNLOAD_URL: https://github.com/godotengine/godot
+ GODOT_VERSION: 4.1.1
+ GODOT_VERSION_TYPE: stable
OPENVIC_BASE_BRANCH: master
concurrency:
@@ -15,7 +14,7 @@ concurrency:
jobs:
build:
- runs-on: ${{matrix.os}}
+ runs-on: ${{matrix.os}}
name: ${{matrix.name}}
permissions: write-all
strategy:
@@ -62,7 +61,6 @@ jobs:
arch: x86_64
steps:
-
- name: Checkout project
uses: actions/checkout@v3.3.0
with:
@@ -80,7 +78,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
- python-version: '3.x'
+ python-version: "3.x"
- name: Set up SCons
shell: bash
@@ -125,9 +123,9 @@ jobs:
- name: Archive Release
uses: thedoctor0/zip-release@0.7.1
with:
- type: 'zip'
- filename: '../../../libopenvic.${{ matrix.platform }}.${{ matrix.arch }}.zip'
- directory: '${{ github.workspace }}/game/bin/openvic/'
+ type: "zip"
+ filename: "../../../libopenvic.${{ matrix.platform }}.${{ matrix.arch }}.zip"
+ directory: "${{ github.workspace }}/game/bin/openvic/"
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
- name: Create and upload asset
@@ -146,7 +144,6 @@ jobs:
name: Peform Godot Debug Checks
steps:
-
- name: Checkout project
uses: actions/checkout@v3.3.0
@@ -163,8 +160,8 @@ jobs:
id: export_game
uses: Spartan322/godot-export@master
with:
- godot_executable_download_url: ${{env.GODOT_DOWNLOAD_URL}}/${{env.GODOT_VERSION}}/${{env.GODOT_VERSION_PREFIX}}${{env.GODOT_VERSION}}-${{env.GODOT_VERSION_SUFFIX}}_linux.x86_64.zip
- godot_export_templates_download_url: ${{env.GODOT_DOWNLOAD_URL}}/${{env.GODOT_VERSION}}/${{env.GODOT_VERSION_PREFIX}}${{env.GODOT_VERSION}}-${{env.GODOT_VERSION_SUFFIX}}_export_templates.tpz
+ godot_executable_download_url: ${{env.GODOT_LINUX_URL}}
+ godot_export_templates_download_url: ${{env.GODOT_TEMPLATE_URL}}
relative_project_path: ./game
export_as_pack: true
export_debug: true
@@ -180,7 +177,6 @@ jobs:
path: |
./game/export/${{ github.event.repository.name }}.pck
-
export:
runs-on: ubuntu-latest
needs: [build]
@@ -188,7 +184,6 @@ jobs:
name: Export
steps:
-
- name: Checkout project
uses: actions/checkout@v3.3.0
@@ -212,8 +207,8 @@ jobs:
id: export_game
uses: Spartan322/godot-export@master
with:
- godot_executable_download_url: ${{env.GODOT_DOWNLOAD_URL}}/${{env.GODOT_VERSION}}/${{env.GODOT_VERSION_PREFIX}}${{env.GODOT_VERSION}}-${{env.GODOT_VERSION_SUFFIX}}_linux.x86_64.zip
- godot_export_templates_download_url: ${{env.GODOT_DOWNLOAD_URL}}/${{env.GODOT_VERSION}}/${{env.GODOT_VERSION_PREFIX}}${{env.GODOT_VERSION}}-${{env.GODOT_VERSION_SUFFIX}}_export_templates.tpz
+ godot_executable_download_url: ${{env.GODOT_LINUX_URL}}
+ godot_export_templates_download_url: ${{env.GODOT_TEMPLATE_URL}}
relative_project_path: ./game
archive_output: true
cache: true