aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
author Spartan322 <Megacake1234@gmail.com>2023-09-24 01:40:10 +0200
committer Spartan322 <Megacake1234@gmail.com>2023-09-24 05:10:13 +0200
commitcc3ced120cdb83b144f9c19d338cb354d15442e8 (patch)
treed1e99c1e2ea0765d7c721851b89b8c9ef0c90af8 /.github/workflows
parent0b4c30aa02c3ec1dacfc3ac190af4733531753ea (diff)
Move actions and scripts to separate reusable repos
Add `extension/deps/SCsub`
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/builds.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml
index 68da880..ce7265f 100644
--- a/.github/workflows/builds.yml
+++ b/.github/workflows/builds.yml
@@ -67,13 +67,14 @@ jobs:
submodules: recursive
- name: Setup OpenVic build cache
- uses: ./.github/actions/openvic-cache
+ uses: OpenVicProject/openvic-cache@master
with:
cache-name: ${{ matrix.identifier }}
+ base-branch: ${{ env.OPENVIC_BASE_BRANCH }}
continue-on-error: true
- name: Setup Environment
- uses: ./.github/actions/openvic-env
+ uses: OpenVicProject/openvic-env@master
- name: Set up Python
uses: actions/setup-python@v4
@@ -99,13 +100,14 @@ jobs:
- name: Setup MinGW for Windows/MinGW build
if: ${{ matrix.platform == 'windows' }}
- uses: ./.github/actions/mingw-cache
+ uses: OpenVicProject/mingw-cache@master
- name: Compile Extension
- uses: ./.github/actions/openvic-build
+ uses: OpenVicProject/openvic-build@master
with:
platform: ${{ matrix.platform }}
target: ${{ matrix.target }}
+ bin-dir: "game/bin/"
sconsflags: arch=${{ matrix.arch }}
- name: Delete compilation files
@@ -148,7 +150,7 @@ jobs:
uses: actions/checkout@v3.3.0
- name: Setup Environment
- uses: ./.github/actions/openvic-env
+ uses: OpenVicProject/openvic-env@master
- name: Download artifact
uses: actions/download-artifact@v3
@@ -188,7 +190,7 @@ jobs:
uses: actions/checkout@v3.3.0
- name: Setup Environment
- uses: ./.github/actions/openvic-env
+ uses: OpenVicProject/openvic-env@master
- name: Download artifact
uses: actions/download-artifact@v3