File tree Expand file tree Collapse file tree 7 files changed +24
-20
lines changed Expand file tree Collapse file tree 7 files changed +24
-20
lines changed Original file line number Diff line number Diff line change 8
8
runs-on : ubuntu-latest
9
9
steps :
10
10
- name : Checkout
11
- uses : actions/checkout@v2
11
+ uses : actions/checkout@v3
12
12
with :
13
13
fetch-depth : 0
14
14
- name : Fetch tags
21
21
make DESTDIR=. install-exec
22
22
echo VERSION=$(cat .version) >> $GITHUB_ENV
23
23
- name : Post standalone script artifact
24
- uses : actions/upload-artifact@v2
24
+ uses : actions/upload-artifact@v3
25
25
with :
26
26
name : standalone-deployment-${{ env.VERSION }}
27
27
path : vcsh-standalone.sh
30
30
runs-on : ubuntu-latest
31
31
steps :
32
32
- name : Checkout
33
- uses : actions/checkout@v2
33
+ uses : actions/checkout@v3
34
34
with :
35
35
fetch-depth : 0
36
36
- name : Fetch tags
40
40
run : |
41
41
sudo apt install -y ronn
42
42
- name : Install perl test dependencies
43
- uses : perl-actions/install-with-cpanm@v1.1
43
+ uses : perl-actions/install-with-cpanm@v1.4
44
44
with :
45
45
install : |
46
46
Shell::Command
57
57
make dist
58
58
echo VERSION=$(cat .version) >> $GITHUB_ENV
59
59
- name : Post build artifacts
60
- uses : actions/upload-artifact@v2
60
+ uses : actions/upload-artifact@v3
61
61
with :
62
62
name : vcsh-${{ env.VERSION }}
63
63
path : vcsh-${{ env.VERSION }}.zip
Original file line number Diff line number Diff line change 8
8
runs-on : ubuntu-latest
9
9
steps :
10
10
- name : Checkout
11
- uses : actions/checkout@v2
11
+ uses : actions/checkout@v3
12
12
- name : Lint code style
13
13
uses : editorconfig-checker/action-editorconfig-checker@v1.0.0
14
14
15
15
shellcheck :
16
16
runs-on : ubuntu-latest
17
17
steps :
18
18
- name : Checkout
19
- uses : actions/checkout@v2
19
+ uses : actions/checkout@v3
20
20
- name : Configure
21
21
run : |
22
22
./bootstrap.sh
23
23
./configure --without-man-page --disable-tests
24
24
- name : Run shellcheck
25
- uses : reviewdog/action-shellcheck@v1.0 .0
25
+ uses : reviewdog/action-shellcheck@v1.15 .0
26
26
with :
27
27
pattern : vcsh
28
28
reporter : github-pr-review
Original file line number Diff line number Diff line change 14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- name : Checkout
17
- uses : actions/checkout@v2
17
+ uses : actions/checkout@v3
18
18
- name : Install build dependencies
19
19
run : |
20
20
sudo apt install -y ronn
@@ -49,15 +49,15 @@ jobs:
49
49
needs : [ ghrelease ]
50
50
steps :
51
51
- name : Checkout
52
- uses : actions/checkout@v2
52
+ uses : actions/checkout@v3
53
53
- name : Configure standalone script
54
54
run : |
55
55
echo "${GITHUB_REF#refs/*/v}" > .tarball-version
56
56
./bootstrap.sh
57
57
./configure --with-standalone --bindir=/
58
58
make DESTDIR=. install-exec
59
59
- name : Add standalone deployment to release
60
- uses : svenstaro/upload-release-action@v2
60
+ uses : svenstaro/upload-release-action@v3
61
61
with :
62
62
repo_token : ${{ github.token }}
63
63
file : vcsh-standalone.sh
Original file line number Diff line number Diff line change 8
8
runs-on : ubuntu-latest
9
9
steps :
10
10
- name : Checkout
11
- uses : actions/checkout@v2
11
+ uses : actions/checkout@v3
12
12
with :
13
13
fetch-depth : 0
14
14
- name : Fetch tags
18
18
run : |
19
19
sudo apt install -y ronn
20
20
- name : Install perl test dependencies
21
- uses : perl-actions/install-with-cpanm@v1.1
21
+ uses : perl-actions/install-with-cpanm@v1.4
22
22
with :
23
23
install : |
24
24
Shell::Command
Original file line number Diff line number Diff line change
1
+ AC_DEFUN ( [ AX_PROGVAR] , [
2
+ test -n "$m4_toupper ( $1 ) " || { AC_PATH_PROG ( m4_toupper ( $1 ) , m4_default ( $2 ,$1 ) ) }
3
+ test -n "$m4_toupper ( $1 ) " || AC_MSG_ERROR ( [ m4_default ( $2 ,$1 ) is required] )
4
+ ] )
5
+
Original file line number Diff line number Diff line change
1
+ AC_DEFUN ( [ AX_SUBST_TRANSFORMED_PACKAGE_NAME] , [
2
+ AC_PROG_SED
3
+ TRANSFORMED_PACKAGE_NAME="$(printf "$PACKAGE_NAME" | $SED -e "$(printf "$program_transform_name" | $SED -e 's/\$\$/\$/')")"
4
+ AC_SUBST ( [ TRANSFORMED_PACKAGE_NAME] )
5
+ ] )
Original file line number Diff line number Diff line change @@ -8,11 +8,6 @@ AC_CONFIG_MACRO_DIR([build-aux])
8
8
AM_CONDITIONAL([ IS_SDIST] ,
9
9
[ test ! -e .gitignore] )
10
10
11
- AC_DEFUN ( [ AX_PROGVAR] , [
12
- test -n "$m4_toupper ( $1 ) " || { AC_PATH_PROG ( m4_toupper ( $1 ) , m4_default ( $2 ,$1 ) ) }
13
- test -n "$m4_toupper ( $1 ) " || AC_MSG_ERROR ( [ m4_default ( $2 ,$1 ) is required] )
14
- ] )
15
-
16
11
AC_ARG_WITH ( [ standalone] ,
17
12
AS_HELP_STRING ( [ --with-standalone] ,
18
13
[ Use configuration presets for a standalone script deployment @<:@ default=no@:>@ ] ) ,
@@ -105,8 +100,7 @@ AM_COND_IF([ENABLE_ZSH_COMPLETION],
105
100
[ ZSH_COMPLETION_DIR="$with_zsh_completion_dir"] )
106
101
AC_SUBST ( [ ZSH_COMPLETION_DIR] )
107
102
108
- TRANSFORMED_PACKAGE_NAME="$(printf "$PACKAGE_NAME" | $SED -e "${program_transform_name//\$\$/\$}")"
109
- AC_SUBST ( [ TRANSFORMED_PACKAGE_NAME] )
103
+ AX_SUBST_TRANSFORMED_PACKAGE_NAME
110
104
111
105
AC_CONFIG_FILES ( [ Makefile] )
112
106
AC_CONFIG_FILES ( [ vcsh] , [ chmod +x vcsh] )
You can’t perform that action at this time.
0 commit comments