Skip to content

fix: server name is wrong #300

fix: server name is wrong

fix: server name is wrong #300

Workflow file for this run

name: Build
on:
push:
branches:
- master
tags:
- v*
pull_request:
branches:
- master
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build Binary
runs-on: ubuntu-latest
container:
image: archlinux:latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy rustfmt
- name: Install Deps
run: pacman -Syu --noconfirm base-devel git sudo libxkbcommon wayland alsa-lib alsa-utils
- name: Run fmt check
run: cargo fmt --all -- --check
- name: Run clippy check
run: cargo clippy
- name: Run tests
run: cargo test --verbose
release:
permissions:
contents: write
if: startsWith(github.ref, 'refs/tags/v')
needs:
- build
runs-on: ubuntu-latest
container:
image: archlinux:latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install Deps
run: pacman -Syu --noconfirm base-devel git sudo libxkbcommon wayland alsa-lib alsa-utils
- name: Publish to crate
run: |
cargo publish -p iced_zbus_notification --token ${{ secrets.CRATES_TOKEN }}
cargo publish -p lala-bar --token ${{ secrets.CRATES_TOKEN }}
- uses: softprops/action-gh-release@v2
with:
draft: false