Skip to content

Commit

Permalink
ci: Add Swift Package Build & Publish steps
Browse files Browse the repository at this point in the history
Signed-off-by: Qian Qian "Cubik"‎ <[email protected]>
  • Loading branch information
Cubik65536 committed Jul 27, 2024
1 parent d5f435d commit 689bcef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Build Swift Package
run: cargo swift package
- name: Publish Swift Package
uses: LarchLiu/actions-save-files@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: package
publish_dir: ./TypstLibrarySwift

0 comments on commit 689bcef

Please sign in to comment.