Skip to content

Capitalize log messages #13

Capitalize log messages

Capitalize log messages #13

Workflow file for this run

name: Build And Add To Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
env:
CARGO_TERM_COLOR: always
jobs:
build-and-release:
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
include:
- os: windows-latest
os-name: windows
executable-extension: .exe
- os: ubuntu-latest
os-name: linux
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --release
- run: |
mv ./target/release/client${{ matrix.executable-extension }} ${{ matrix.os-name }}-client${{ matrix.executable-extension }}
mv ./target/release/server${{ matrix.executable-extension }} ${{ matrix.os-name }}-server${{ matrix.executable-extension }}
- uses: softprops/action-gh-release@v1
with:
files: |
${{ matrix.os-name }}-client${{ matrix.executable-extension }}
${{ matrix.os-name }}-server${{ matrix.executable-extension }}