Skip to content

One less clone()

One less clone() #5

name: Build Master Release
on: [push, workflow_dispatch]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Linux Release
run: cargo build --release
- name: Upload Linux Artifact
uses: actions/upload-artifact@v4
with:
name: linux_binary
path: target/release/linch
# build-macos:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v4
# - name: Build MacOs Release
# run: cargo build --release
# - name: Upload MacOS Artifact
# uses: actions/upload-artifact@v4
# with:
# name: macos_binary
# path: target/release/linch
# build-windows:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v4
# - name: Build Windows Release
# run: cargo build --release
# - name: Upload Windows Artifact
# uses: actions/upload-artifact@v4
# with:
# name: windows_exe
# path: target/release/linch.exe