Skip to content

Commit d114d9f

Browse files
committed
add examples to release
1 parent 334cb05 commit d114d9f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,19 @@ jobs:
3434
git commit -m "Update semver" || echo "No changes to commit"
3535
3636
git push https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/${{ github.repository }}.git
37+
- name: Zip Examples and Readme
38+
run: zip -r examples.zip examples/ README.md
3739
- name: Release
3840
uses: softprops/action-gh-release@v2
3941
with:
4042
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
4143
tag_name: ${{ env.tag }}
4244
generate_release_notes: true
4345
files: |
44-
README.md
4546
LICENSE
4647
lib.typ
4748
typst.toml
49+
examples.zip
4850
src/**/*
4951
!example/**
5052

0 commit comments

Comments
 (0)