1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 14:14:03 +00:00

ci: fix workflow on windows, fix makefile

This commit is contained in:
Samuel Štancl 2025-01-02 06:11:19 +01:00
parent 3866f59b60
commit f032b452fb
2 changed files with 11 additions and 1 deletions

View file

@ -51,7 +51,15 @@ jobs:
git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]" git config --local user.name "github-actions[bot]"
git add lib/ git add lib/
git commit -m "Auto-build: Update output files [skip ci]" || echo "No changes to commit" git commit -m "Auto-build: Update extensions [skip ci]" || echo "No changes to commit"
- name: Push files (Unix)
if: runner.os != 'Windows'
run: |
for attempt in {1..3}; do for attempt in {1..3}; do
git pull --rebase && git push && break || sleep 5 git pull --rebase && git push && break || sleep 5
done done
- name: Push files (Windows)
if: runner.os == 'Windows'
run: git pull --rebase && git push

View file

@ -1,5 +1,7 @@
.PHONY: all headers .PHONY: all headers
OUTPUT :=
ifeq ($(OS),Windows_NT) ifeq ($(OS),Windows_NT)
OUTPUT = lib/noattach.dll OUTPUT = lib/noattach.dll
CCFLAGS = -shared CCFLAGS = -shared