ci: try alternate quoting for the GH key install

This commit is contained in:
Wez Furlong committed 2021-12-06 10:05:29 -07:00
1 parent 03f5a23939
commit aa200ae8aa
10 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ jobs:
run: "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg"
- name: "Add GitHub package list"
shell: bash
run: "echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null"
run: "echo deb \\[arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg\\] https://cli.github.com/packages stable main | tee /etc/apt/sources.list.d/github-cli.list > /dev/null"
- name: "Update APT"
shell: bash
run: "apt update"
@@ -50,7 +50,7 @@ jobs:
shell: bash
run: |
export BUILD_REASON=Schedule
echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
echo deb \\[arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg\\] https://cli.github.com/packages stable main | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
- name: "Update APT"
shell: bash
run: |
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
run: "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg"
- name: "Add GitHub package list"
shell: bash
run: "echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null"
run: "echo deb \\[arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg\\] https://cli.github.com/packages stable main | tee /etc/apt/sources.list.d/github-cli.list > /dev/null"
- name: "Update APT"
shell: bash
run: "apt update"
+1 -1
View File
@@ -36,7 +36,7 @@ jobs:
run: "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg"
- name: "Add GitHub package list"
shell: bash
run: "echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null"
run: "echo deb \\[arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg\\] https://cli.github.com/packages stable main | tee /etc/apt/sources.list.d/github-cli.list > /dev/null"
- name: "Update APT"
shell: bash
run: "apt update"
@@ -50,7 +50,7 @@ jobs:
shell: bash
run: |
export BUILD_REASON=Schedule
echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
echo deb \\[arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg\\] https://cli.github.com/packages stable main | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
- name: "Update APT"
shell: bash
run: |
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
run: "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg"
- name: "Add GitHub package list"
shell: bash
run: "echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null"
run: "echo deb \\[arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg\\] https://cli.github.com/packages stable main | tee /etc/apt/sources.list.d/github-cli.list > /dev/null"
- name: "Update APT"
shell: bash
run: "apt update"
+1 -1
View File
@@ -50,7 +50,7 @@ jobs:
run: "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg"
- name: "Add GitHub package list"
shell: bash
run: "echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null"
run: "echo deb \\[arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg\\] https://cli.github.com/packages stable main | tee /etc/apt/sources.list.d/github-cli.list > /dev/null"
- name: "Update APT"
shell: bash
run: "apt update"
@@ -63,7 +63,7 @@ jobs:
shell: bash
run: |
export BUILD_REASON=Schedule
echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
echo deb \\[arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg\\] https://cli.github.com/packages stable main | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
- name: "Update APT"
shell: bash
run: |
+1 -1
View File
@@ -41,7 +41,7 @@ jobs:
run: "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg"
- name: "Add GitHub package list"
shell: bash
run: "echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null"
run: "echo deb \\[arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg\\] https://cli.github.com/packages stable main | tee /etc/apt/sources.list.d/github-cli.list > /dev/null"
- name: "Update APT"
shell: bash
run: "apt update"
+1 -1
View File
@@ -536,7 +536,7 @@ cargo build --all --release""",
),
RunStep(
"Add GitHub package list",
f'echo \\"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\\" | {sudo} tee /etc/apt/sources.list.d/github-cli.list > /dev/null',
f"echo deb \\\\[arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg\\\\] https://cli.github.com/packages stable main | {sudo} tee /etc/apt/sources.list.d/github-cli.list > /dev/null",
),
RunStep("Update APT", f"{sudo}apt update"),
RunStep("Install GH CLI", f"{sudo} apt install gh"),