File tree 2 files changed +3
-4
lines changed
.gt/remotes/tegonal-gh-commons
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ jobs:
21
21
- uses : actions/checkout@v4
22
22
# start inserted via pull-hook.sh - modify there
23
23
- name : Setup JDK 17
24
- uses : actions/setup-java
24
+ uses : actions/setup-java@v4
25
25
with :
26
26
distribution : temurin
27
27
java-version : 17
28
28
cache : sbt
29
- - uses : sbt/setup-sbt
29
+ - uses : sbt/setup-sbt@v1
30
30
# end inserted via pull-hook.sh - modify there
31
31
- name : Cleanup Sources
32
32
run : ./scripts/cleanup-on-push-to-main.sh
Original file line number Diff line number Diff line change @@ -49,8 +49,7 @@ function gt_pullHook_tegonal_gh_commons_before() {
49
49
# end inserted via pull-hook.sh - modify there
50
50
EOM
51
51
)
52
-
53
- perl -0777 -i -pe " s|\n(\s+ - name: Cleanup Sources)|\n$yaml \n\$ {1}|g" " $source "
52
+ YAML=" $yaml " perl -0777 -i -pe " s|\n(\s+ - name: Cleanup Sources)|\n\$ ENV{YAML}\n\$ {1}|g" " $source "
54
53
fi
55
54
}
56
55
You can’t perform that action at this time.
0 commit comments