File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 13
13
14
14
steps :
15
15
- uses : actions/checkout@v2
16
+ with :
17
+ fetch-depth : 0
16
18
17
19
- name : Install libyaml-libyaml-perl
18
20
run : |
Original file line number Diff line number Diff line change 24
24
.PHONY : test test-debtransform doc
25
25
26
26
test :
27
+ [ " $( SCM) " != " git" ] || git --no-pager diff --check origin/master..HEAD --
27
28
PERL5LIB=. prove -v
28
29
29
30
test-debtransform :
Original file line number Diff line number Diff line change 5
5
################################################################
6
6
#
7
7
# Copyright (c) 2017 SUSE Linux Products GmbH
8
+ # Copyright (c) 2021 SUSE LLC
8
9
#
9
10
# This program is free software; you can redistribute it and/or modify
10
11
# it under the terms of the GNU General Public License version 2 or 3 as
@@ -28,15 +29,15 @@ recipe_setup_docker() {
28
29
TOPDIR="/usr/src/packages"
29
30
test "$DO_INIT_TOPDIR" != false && rm -Rf "$BUILD_ROOT/$TOPDIR"
30
31
mkdir -p "$BUILD_ROOT$TOPDIR/SOURCES"
31
- if test "$MYSRCDIR" = $BUILD_ROOT/.build-srcdir ; then
32
+ if test "$MYSRCDIR" = $BUILD_ROOT/.build-srcdir ; then
32
33
mv "$MYSRCDIR"/* $BUILD_ROOT$TOPDIR/SOURCES/
33
34
else
34
35
if test -z "$LINKSOURCES" ; then
35
36
copy_sources "$MYSRCDIR" "$BUILD_ROOT$TOPDIR/SOURCES/"
36
37
else
37
38
cp -lR "$MYSRCDIR"/* $BUILD_ROOT$TOPDIR/SOURCES/
38
39
fi
39
- if test "$?" != 0 ; then
40
+ if test "$?" != 0 ; then
40
41
cleanup_and_exit 1 "source copy failed"
41
42
fi
42
43
fi
@@ -186,7 +187,7 @@ recipe_build_docker() {
186
187
if ! $DOCKER_CMD save --output "$TOPDIR/DOCKER/$FILENAME.tar" "$FIRSTTAG" ; then
187
188
cleanup_and_exit 1 "$DOCKER_TOOL save command failed"
188
189
fi
189
-
190
+
190
191
# Create containerinfo
191
192
args=()
192
193
test -n "$DISTURL" && args=("${args[@]}" --disturl "$DISTURL")
You can’t perform that action at this time.
0 commit comments