Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,10 @@ jobs:
- name: Create artifact archive
shell: bash
run: |
mkdir -p artifacts
if [ -d dist ]; then
tar -C dist -czf templates.tar.gz .
ls -la
tar -C dist -czf artifacts/templates.tar.gz .
ls -la artifacts
else
echo "dist directory not found"
exit 1
Expand All @@ -84,11 +85,11 @@ jobs:
uses: actions/attest-build-provenance@v1
with:
show-summary: false
subject-path: templates.tar.gz
subject-path: artifacts/*

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: templates
path: templates.tar.gz
path: artifacts/*

5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: templates.tar.gz
path: artifacts
merge-multiple: true

- name: Create release
env:
Expand All @@ -108,7 +109,7 @@ jobs:
- name: Upload release artifacts
env:
GH_TOKEN: ${{ github.token }}
run: gh release upload $VERSION templates.tar.gz
run: gh release upload $VERSION artifacts/*

- name: Publish release
env:
Expand Down