Skip to content

style(all): Fix rust clippy issues (#13) #42

style(all): Fix rust clippy issues (#13)

style(all): Fix rust clippy issues (#13) #42

Workflow file for this run

name: release
on:
push:
tags:
- '*'
permissions:
contents: write
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create release
uses: softprops/action-gh-release@v1
with:
draft: true
release-csync:
strategy:
matrix:
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-latest
- target: aarch64-apple-darwin
os: macos-latest
- target: x86_64-pc-windows-msvc
os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
if: startsWith(matrix.os, 'ubuntu')
run: sudo apt-get install libx11-xcb-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: csync
tar: unix
zip: windows
target: ${{ matrix.target }}
token: ${{ secrets.GITHUB_TOKEN }}
release-csyncd:
strategy:
matrix:
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-latest
- target: aarch64-apple-darwin
os: macos-latest
- target: x86_64-pc-windows-msvc
os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: csyncd
tar: unix
zip: windows
target: ${{ matrix.target }}
token: ${{ secrets.GITHUB_TOKEN }}