Publish #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
tags: | |
- '*' | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@nightly | |
- name: Install system dependencies | |
run: sudo apt-get install -y libadwaita-1-dev libgtk-4-dev | |
- name: Test package | |
run: cargo test | |
- name: Publish nuit-core | |
run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} | |
working-directory: nuit-core | |
- name: Publish nuit-bridge-adwaita | |
run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} | |
working-directory: nuit-bridge-adwaita | |
- name: Publish nuit-bridge-swiftui | |
run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} | |
working-directory: nuit-bridge-swiftui | |
- name: Publish nuit-derive | |
run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} | |
working-directory: nuit-derive | |
- name: Publish nuit | |
run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} |