Skip to content

Commit 0d0c9b7

Browse files
author
Akash Satheesan
committed
chore(ci): adjust linux-amd64 package step
1 parent 712fe9d commit 0d0c9b7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ jobs:
154154
curl -sfL https://install.goreleaser.com/github.com/goreleaser/nfpm.sh | sh -s -- -b ~/.local/bin v2.3.1
155155
echo "$HOME/.local/bin" >> $GITHUB_PATH
156156
157+
- name: Install yarn
158+
run: npm install -g yarn
159+
157160
- name: Download npm package
158161
uses: actions/download-artifact@v2
159162
with:
@@ -162,10 +165,10 @@ jobs:
162165
- name: Decompress npm package
163166
run: tar -xzf package.tar.gz
164167

168+
# NOTE: && here is deliberate - GitHub puts each line in its own `.sh`
169+
# file when running inside a docker container.
165170
- name: Build standalone release
166-
run: |
167-
source scl_source enable devtoolset-9
168-
yarn release:standalone
171+
run: source scl_source enable devtoolset-9 && yarn release:standalone
169172

170173
- name: Sanity test standalone release
171174
run: yarn test:standalone-release

0 commit comments

Comments
 (0)