window_switcher v1.0.0-alpha.1 #13
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: | |
release: | |
types: [published] | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install Rust stable | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install gtk4-layer-shell | |
run: sudo apt-get update | |
&& sudo apt -y install git libglib2.0-dev libgraphene-1.0-dev meson ninja-build libwayland-dev libgtk-4-dev gobject-introspection libgirepository1.0-dev python3 valac | |
&& git clone https://github.com/wmww/gtk4-layer-shell | |
&& cd gtk4-layer-shell | |
&& meson setup build | |
&& ninja -C build | |
&& sudo ninja -C build install | |
&& sudo ldconfig | |
- run: cargo publish --all-features --token $${{ secrets.CRATES_TOKEN }} |