File tree 2 files changed +44
-0
lines changed
2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test Install percli
2
+ on :
3
+ workflow_dispatch : # Allow manual triggering
4
+ push :
5
+ branches :
6
+ - main
7
+ - release/*
8
+ - snapshot/*
9
+ tags :
10
+ - v*
11
+ pull_request :
12
+ merge_group :
13
+ jobs :
14
+ test-install-cli :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : Checkout repository
18
+ uses : actions/checkout@v4
19
+
20
+ - name : Install percli
21
+ uses : ./actions/install_percli
22
+ with :
23
+ cli_version : " latest"
Original file line number Diff line number Diff line change
1
+ name : " Install percli"
2
+ description : " Install the Perses CLI"
3
+ inputs :
4
+ cli_version :
5
+ description : " Version of percli to install"
6
+ default : " latest"
7
+ runs :
8
+ using : composite
9
+ steps :
10
+ - name : Install percli from docker image
11
+ run : |
12
+ docker pull persesdev/perses:${{ inputs.cli_version }}
13
+ docker create --name tempcontainer persesdev/perses:${{ inputs.cli_version }}
14
+ docker cp tempcontainer:/bin/percli /usr/local/bin/percli
15
+ docker rm tempcontainer
16
+ shell : bash
17
+
18
+ - name : Verify installation
19
+ run : |
20
+ percli version
21
+ shell : bash
You can’t perform that action at this time.
0 commit comments