Skip to content

Commit d6dcb6a

Browse files
committed
Merge branch 'master' into ritchxu/actions-settings
2 parents 7aa0eca + 4c951f3 commit d6dcb6a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- name: Install Dependencies (Linux)
1616
run: |
1717
sudo apt-get update -y
18+
sudo apt-get purge parallel
1819
sudo apt-get install -y devscripts debhelper moreutils fakeroot jq pigz
1920
wget "https://storage.googleapis.com/shellcheck/shellcheck-v0.7.0.linux.x86_64.tar.xz"
2021
tar --xz -xvf "shellcheck-v0.7.0.linux.x86_64.tar.xz"

share/github-backup-utils/ghe-restore-actions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ ghe_remote_version_required "$host"
4040
# Transfer all Actions data from the snapshot to the user data directory using rsync.
4141
ghe_verbose "* Transferring Actions files to $host ..."
4242

43-
echo "sudo mkdir -p $GHE_REMOTE_DATA_USER_DIR/actions" |
44-
ghe-ssh -p $port $host /bin/bash
43+
ghe-ssh -p "$port" "$host" -- sudo mkdir -p "$GHE_REMOTE_DATA_USER_DIR/actions"
44+
ghe-ssh -p "$port" "$host" -- sudo chown -R actions:actions "$GHE_REMOTE_DATA_USER_DIR/actions"
4545

4646
ghe-rsync -arvHR --delete \
4747
-e "ghe-ssh -p $port" \

0 commit comments

Comments
 (0)