Compare commits

..

4 Commits

Author SHA1 Message Date
7144e92237 Get hyprland session at runtime 2025-07-02 11:10:23 +10:00
a30333b77e Removed duplicate true 2025-07-02 10:55:15 +10:00
56dd495f83 added ipc 2025-07-02 10:54:58 +10:00
cc45f5cf59 Added hyprpaper support 2025-06-30 07:07:48 +10:00

View File

@ -4,40 +4,23 @@ on:
push: push:
tags: tags:
- '*' - '*'
env:
CRATE_NAME: mycelium
RUST_BACKTRACE: 1
jobs: jobs:
release: release:
name: release name: release ${{ matrix.target }}
runs-on: ubuntu-24.04 runs-on: alma9
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
platform: target: [x86_64-unknown-linux-musl]
- os-name: Linux-x86_64
runs-on: ubuntu-20.04
target: x86_64-unknown-linux-gnu
toolchain:
- stable
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@master
- name: Install deps - name: Install deps
run: | run: apt-get update; apt-get install -y libdbus-1-dev pkg-config
apt-get update; apt-get install -y libdbus-1-3 libdbus-1-dev libdbus-1-3 pkg-config - name: Compile and release
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /tmp/inst_rustup.sh uses: rust-build/rust-build.action@v1.4.5
bash /tmp/inst_rustup.sh -y env:
source /root/.cargo/env GITHUB_TOKEN: ${{ secrets.GT_TOKEN }}
rustup toolchain install stable-x86_64-unknown-linux-gnu
- name: Build binary
run: |
/root/.cargo/bin/cargo build --release
tar -zcvf x86_64-linux.tgz target/release/mycelium README.md
- name: Test
run: |
ls -alh target/release/mycelium
- name: Release
uses: softprops/action-gh-release@v2
with: with:
files: x86_64-linux.tgz RUSTTARGET: ${{ matrix.target }}
EXTRA_FILES: README.md