Skip to content

Commit dbc0711

Browse files
committed
ci: match Pages artifact format
1 parent 12991e2 commit dbc0711

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/docs.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,20 @@ jobs:
4848

4949
- name: Package Pages artifact
5050
run: |
51-
tar --directory ./docs/dist --create --file /tmp/github-pages.tar .
52-
gzip --no-name /tmp/github-pages.tar
51+
tar \
52+
--dereference --hard-dereference \
53+
--directory ./docs/dist \
54+
-cvf /tmp/artifact.tar \
55+
--exclude=.git \
56+
--exclude=.github \
57+
--exclude='./.[^/]*' \
58+
.
5359
5460
- name: Upload artifact
5561
uses: actions/upload-artifact@v7
5662
with:
5763
name: github-pages
58-
path: /tmp/github-pages.tar.gz
64+
path: /tmp/artifact.tar
5965
retention-days: 1
6066
if-no-files-found: error
6167

docs/superpowers/specs/2026-04-15-github-actions-warning-cleanup-design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Clean up GitHub Actions warnings without changing the release flow semantics.
77
## Changes
88

99
- Replace the release workflow's `github-tag-action` step with an inline shell step that computes the next patch tag, pushes it, and emits the existing outputs.
10-
- Replace `actions/upload-pages-artifact` with explicit tar/gzip packaging plus a direct `actions/upload-artifact` upload for Pages deployment.
10+
- Replace `actions/upload-pages-artifact` with explicit tar packaging plus a direct `actions/upload-artifact` upload for Pages deployment, matching the upstream action's artifact format.
1111
- Replace `azure/setup-helm` with explicit Helm binary installation in CI jobs.
1212
- Bump first-party GitHub actions to current major versions that support the Node 24 transition.
1313
- Bump the Docker-maintained GitHub actions in the release workflow to their current major versions.

0 commit comments

Comments
 (0)