Yet another attempt to fix CI builds.
Some checks failed
Build / build (push) Failing after 44s

This commit is contained in:
H. Utku Maden 2024-03-21 18:38:27 +03:00
parent 702083e961
commit 029375399f
3 changed files with 21 additions and 10 deletions

@ -19,12 +19,5 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
- name: "Where are my files????"
run: |
bash -c "pwd && ls -laR"
- name: Run Build Script
run: docker-compose run build
working-directory: ${{ gitea.workspace }}
- name: Upload NuGet Package
run: "bash ${{ gitea.workspace }}/publish.sh"
run: "bash ${{ gitea.workspace }}/build_ci_cd.sh"

10
build_ci_cd.sh Normal file

@ -0,0 +1,10 @@
#!/bin/bash
cd $(dirname "$0")
if [ -z "$QUIK_API_KEY" ]
then
echo "Please define QUIK_API_KEY"
exit 1
fi
docker-compose run build && docker-compose run publish

@ -3,6 +3,14 @@ version: "2"
services:
build:
image: git.mixedup.dev/quik/docker-cross-compiler
command: "ls -laR"
command: "/home/quik/src/build_native.sh"
volumes:
- .:/home/quik/src
- .:/home/quik/src
publish:
image: git.mixedup.dev/quik/docker-cross-compiler
command: "/home/quik/src/publish.sh"
environment:
QUIK_API_KEY: ${QUIK_API_KEY}
volumes:
- .:/home/quik/src