Skip to content

Commit d8f4d01

Browse files
committed
move ys workflows to separate directory
[ci skip]
1 parent 2abde1b commit d8f4d01

28 files changed

+5
-3
lines changed
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ YS := $(YS_PREFIX)/bin/ys-$(YS_VERSION)
66

77
INPUT_FILES := $(wildcard */*)
88
SOURCE_FILES := $(wildcard *.ys)
9-
TARGET_FILES := $(SOURCE_FILES:%.ys=%.yml)
9+
TARGET_FILES := $(SOURCE_FILES:%.ys=../workflows/%.yml)
1010

1111
export PATH := $(YS_PREFIX)/bin:$(PATH)
1212
export YSPATH := $(shell pwd -P)/ys
@@ -24,7 +24,7 @@ DIFF_ORIG_COMMIT ?= HEAD
2424
diff:
2525
@for s in $(SOURCE_FILES); do \
2626
s=$${s##*/}; \
27-
t=$${s%.yml}; \
27+
t=../workflows/$${s%.yml}; \
2828
[[ $$(git show $(DIFF_ORIG_COMMIT):.github/workflows/.$$t \
2929
2>/dev/null) ]] && t=.$$t; \
3030
diff -u --color=auto \
@@ -43,12 +43,14 @@ force:
4343
touch *.ys
4444

4545

46-
%.yml: %.ys $(YS) $(INPUT_FILES)
46+
../workflows/%.yml: %.ys $(YS) $(INPUT_FILES)
47+
@chmod u+w ../workflows
4748
@if [ -f "$@" ] ; then chmod a+w $@ ; fi
4849
@echo "# DO NOT EDIT - GENERATED FROM .github/workflows/$<" > $@
4950
@echo >> $@
5051
$(YS) -Y $< >> $@
5152
@chmod a-w $@
53+
@chmod u-w ../workflows
5254
@wc -lm --total=never $< $@
5355

5456

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

.github/workflows/bash/release-create-source-packages.bash renamed to .github/workflows-in/bash/release-create-source-packages.bash

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)