Commit b0c21e8 1 parent 7737740 commit b0c21e8 Copy full SHA for b0c21e8
File tree 3 files changed +19
-0
lines changed
3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 5
5
pull_request_target :
6
6
7
7
permissions :
8
+ actions : write
8
9
contents : read
9
10
packages : write
10
11
Original file line number Diff line number Diff line change 16
16
required : true
17
17
type : string
18
18
19
+ permissions :
20
+ actions : write
21
+
19
22
env :
20
23
INTEGRATION_TESTS_ARGS : " --extended --exclude feature_pruning,feature_dbcrash"
21
24
62
65
|| echo "upload-logs=false" >> "${GITHUB_OUTPUT}"
63
66
shell : bash
64
67
68
+ - name : Delete build outputs cache
69
+ run : |
70
+ git config --global --add safe.directory "$(pwd)"
71
+ gh cache delete "${{ inputs.build-key }}"
72
+ echo "::warning:: Build outputs cache \"${{ inputs.build-key }}\" deleted on successful test run. Attempting to rerun \"${{ inputs.build-target }}-test\" will fail!"
73
+ env :
74
+ GH_TOKEN : ${{ github.token }}
75
+
65
76
- name : Upload test logs
66
77
uses : actions/upload-artifact@v4
67
78
if : |
Original file line number Diff line number Diff line change @@ -146,6 +146,13 @@ RUN set -ex; \
146
146
mkdir -p /opt/shellcheck && tar -xf /tmp/shellcheck.tar.xz -C /opt/shellcheck --strip-components=1 && rm /tmp/shellcheck.tar.xz
147
147
ENV PATH="/opt/shellcheck:${PATH}"
148
148
149
+ RUN set -ex; \
150
+ mkdir -p -m 755 /etc/apt/keyrings; \
151
+ wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg > /etc/apt/keyrings/github.gpg && chmod go+r /etc/apt/keyrings/github.gpg; \
152
+ echo "deb [arch=" $(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/github.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list; \
153
+ apt-get update && apt-get install $APT_ARGS gh \
154
+ && rm -rf /var/lib/apt/lists/*;
155
+
149
156
# Setup unprivileged user and configuration files
150
157
ARG USER_ID=1000 \
151
158
GROUP_ID=1000
You can’t perform that action at this time.
0 commit comments