File tree 4 files changed +8
-5
lines changed
4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 8
8
9
9
build :
10
10
name : Build
11
- runs-on : ubuntu-latest
11
+ runs-on : ubuntu-20.04
12
12
steps :
13
13
14
14
- name : Set up Go 1.x
Original file line number Diff line number Diff line change 10
10
11
11
build :
12
12
name : Build
13
- runs-on : ubuntu-latest
13
+ runs-on : ubuntu-20.04
14
14
steps :
15
15
16
16
- name : Set up Go 1.x
37
37
id : pack
38
38
with :
39
39
recipe : ' appimage-builder.yml'
40
+ env :
41
+ APPIMAGE_CLI_TOOL_VERSION : 0.1.4
40
42
41
43
- name : Upload a Build Artifact
42
44
uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change @@ -20,16 +20,17 @@ distro-pack:
20
20
stage : pack
21
21
variables :
22
22
DEBIAN_FRONTEND : noninteractive
23
+ APPIMAGE_CLI_TOOL_VERSION : 0.1.4
23
24
dependencies :
24
25
- build
25
26
before_script :
26
27
- apt-get update -y
27
- - apt-get install -y checkinstall alien
28
+ - apt-get install -y checkinstall alien git
28
29
script :
29
30
# Pack into an AppImage
30
31
- appimage-builder --skip-test --recipe=appimage-builder.yml
31
32
# Pack AppImage into deb
32
- - checkinstall --install=no -y --type=debian --pkgname=appimage-cli-tool --pkgversion=0.1.3 --backup=no --maintainer=contact@azubieta.net --pkglicense=MIT
33
+ - checkinstall --install=no -y --type=debian --pkgname=appimage-cli-tool --pkgversion=${APPIMAGE_CLI_TOOL_VERSION} --backup=no --maintainer=contact@azubieta.net --pkglicense=MIT
33
34
# Transform deb into rpm
34
35
- alien --to-rpm appimage-cli-tool*.deb
35
36
artifacts :
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ AppDir:
12
12
id : org.appimage-crafters.appimage-cli-tool
13
13
name : appimage-cli-tool
14
14
icon : appimage-cli-tool
15
- version : 0.1.2
15
+ version : !ENV ${APPIMAGE_CLI_TOOL_VERSION}
16
16
exec : bin/appimage-cli-tool
17
17
exec_args : $@
18
18
You can’t perform that action at this time.
0 commit comments