Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6021c3a

Browse filesBrowse files
committed
tools: copyedit build-tarball.yml
PR-URL: #59808 Refs: https://www.shellcheck.net/wiki/SC2006 Refs: https://www.shellcheck.net/wiki/SC2086 Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 7a91282 commit 6021c3a
Copy full SHA for 6021c3a

File tree

Expand file treeCollapse file tree

1 file changed

+7
-11
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-11
lines changed
Open diff view settings
Collapse file

‎.github/workflows/build-tarball.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/build-tarball.yml
+7-11Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,14 @@ jobs:
5151
- name: Make tarball
5252
run: |
5353
export DISTTYPE=nightly
54-
export DATESTRING=`date "+%Y-%m-%d"`
54+
export DATESTRING=$(date "+%Y-%m-%d")
5555
export COMMIT=$(git rev-parse --short=10 "$GITHUB_SHA")
56-
./configure && make tar -j8 SKIP_XZ=1
57-
mkdir tarballs
58-
mv *.tar.gz tarballs
56+
./configure && make tar -j4 SKIP_XZ=1
5957
- name: Upload tarball artifact
6058
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6159
with:
6260
name: tarballs
63-
path: tarballs
61+
path: '*.tar.gz'
6462
compression-level: 0
6563
test-tarball-linux:
6664
needs: build-tarball
@@ -92,11 +90,10 @@ jobs:
9290
path: tarballs
9391
- name: Extract tarball
9492
run: |
95-
tar xzf tarballs/*.tar.gz -C $RUNNER_TEMP
96-
echo "TAR_DIR=$RUNNER_TEMP/`basename tarballs/*.tar.gz .tar.gz`" >> $GITHUB_ENV
93+
tar xzf tarballs/*.tar.gz -C "$RUNNER_TEMP"
94+
echo "TAR_DIR=$RUNNER_TEMP/$(basename tarballs/*.tar.gz .tar.gz)" >> "$GITHUB_ENV"
9795
- name: Build
98-
run: |
99-
make -C "$TAR_DIR" build-ci -j4 V=1
96+
run: make -C "$TAR_DIR" build-ci -j4 V=1
10097
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
10198
with:
10299
persist-credentials: false
@@ -108,5 +105,4 @@ jobs:
108105
mv tools/eslint "$TAR_DIR/tools"
109106
mv tools/eslint-rules "$TAR_DIR/tools"
110107
- name: Test
111-
run: |
112-
make -C "$TAR_DIR" run-ci -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"
108+
run: make -C "$TAR_DIR" run-ci -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.