Skip to content

Commit cf50672

Browse files
Add jq to path
1 parent 47d753d commit cf50672

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/backup.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,10 @@ jobs:
6969
run: chmod 0600 $HOME/backup
7070
- name: change version
7171
run: echo "3.8.0" > $HOME/version
72-
- name: Install jq
73-
run: sudo apt-get install jq
72+
- name: Add jq to path
73+
run: |
74+
jq=$(which jq)
75+
export PATH=$jq:$PATH
7476
- name: Perform backup
7577
run: |
7678
docker run -e "GHE_HOSTNAME=${{ inputs.hostname }}" \

0 commit comments

Comments
 (0)