CI: Setup environment variables #161

Merged
Sweetbread merged 1 commits from ci/update into main 2025-03-17 20:06:15 +01:00

View File

@@ -28,6 +28,8 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get describe - name: Get describe
id: vars id: vars
@@ -77,6 +79,7 @@ jobs:
- name: Build and install kerpack - name: Build and install kerpack
if: steps.cache-toolchain.outputs.cache-hit != 'true' if: steps.cache-toolchain.outputs.cache-hit != 'true'
run: | run: |
export PATH=/home/autobuild/tools/win32/bin:$PATH
cd ${{ gitea.workspace }}/programs/other/kpack/kerpack_linux/ cd ${{ gitea.workspace }}/programs/other/kpack/kerpack_linux/
make make
chmod +x kerpack chmod +x kerpack
@@ -85,6 +88,7 @@ jobs:
- name: Build and install kpack - name: Build and install kpack
if: steps.cache-toolchain.outputs.cache-hit != 'true' if: steps.cache-toolchain.outputs.cache-hit != 'true'
run: | run: |
export PATH=/home/autobuild/tools/win32/bin:$PATH
cd ${{ gitea.workspace }}/programs/other/kpack/linux/ cd ${{ gitea.workspace }}/programs/other/kpack/linux/
bash build.sh bash build.sh
chmod +x kpack chmod +x kpack
@@ -144,6 +148,7 @@ jobs:
- name: (en_US) Build KolibriOS - name: (en_US) Build KolibriOS
run: | run: |
export PATH=/home/autobuild/tools/win32/bin:$PATH export PATH=/home/autobuild/tools/win32/bin:$PATH
source kos32-export-env-vars ${{ gitea.workspace }}
tup build-en_US tup build-en_US
- name: (en_US) Upload floppy image - name: (en_US) Upload floppy image
@@ -168,6 +173,7 @@ jobs:
- name: (ru_RU) Build KolibriOS - name: (ru_RU) Build KolibriOS
run: | run: |
export PATH=/home/autobuild/tools/win32/bin:$PATH export PATH=/home/autobuild/tools/win32/bin:$PATH
source kos32-export-env-vars ${{ gitea.workspace }}
tup build-ru_RU tup build-ru_RU
- name: (ru_RU) Upload floppy image - name: (ru_RU) Upload floppy image
@@ -192,6 +198,7 @@ jobs:
- name: (es_ES) Build KolibriOS - name: (es_ES) Build KolibriOS
run: | run: |
export PATH=/home/autobuild/tools/win32/bin:$PATH export PATH=/home/autobuild/tools/win32/bin:$PATH
source kos32-export-env-vars ${{ gitea.workspace }}
tup build-es_ES tup build-es_ES
- name: (es_ES) Upload floppy image - name: (es_ES) Upload floppy image