Skip to content

Commit dd48bca

Browse files
committed
Use our GH Action to install the CLI
1 parent 152e64c commit dd48bca

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/ci_cd.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,13 @@ jobs:
2323
- name: Install dependencies
2424
run: uv sync --locked
2525

26+
- name: AppPack CLI
27+
uses: apppackio/setup-apppack-cli@v1
28+
2629
- name: CLI docs
27-
run: |
28-
set -ex
29-
CLI_DOWNLOAD_URL=$(curl -s https://api.github.com/repos/apppackio/apppack/releases/latest | jq -r '.assets[]|select(.name|contains("Linux_x86_64")).browser_download_url')
30-
curl -sLo apppack.tar.gz "$CLI_DOWNLOAD_URL"
31-
tar xvzf apppack.tar.gz
32-
chmod +x apppack
33-
./apppack docgen --directory src/command-line-reference
30+
run: apppack docgen --directory src/command-line-reference
3431
- name: Build
35-
run: APPPACK_VERSION=$(./apppack version) make build
32+
run: APPPACK_VERSION=$(apppack version) make build
3633
- uses: actions/upload-artifact@v5
3734
with:
3835
path: public

0 commit comments

Comments
 (0)