Skip to content

Commit

Permalink
ci: fix workflow on windows, fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl committed Jan 2, 2025
1 parent 3866f59 commit f032b45
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,15 @@ jobs:
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
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
git pull --rebase && git push && break || sleep 5
done
- name: Push files (Windows)
if: runner.os == 'Windows'
run: git pull --rebase && git push
2 changes: 2 additions & 0 deletions extensions/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.PHONY: all headers

OUTPUT :=

ifeq ($(OS),Windows_NT)
OUTPUT = lib/noattach.dll
CCFLAGS = -shared
Expand Down

0 comments on commit f032b45

Please sign in to comment.