Skip to content

Rename artifacts

Rename artifacts #2

name: Build notificox
on:
push:
jobs:
build:
strategy:
matrix:
platform:
- os: ubuntu-latest
bin: notificox
artifact: notificox-x86_64-unknown-linux-gnu
- os: windows-latest
bin: notificox
artifact: notificox-x86_64-pc-windows-msvc.exe
- os: macos-latest
bin: notificox
artifact: notificox-x86_64-apple-darwin
runs-on: ${{ matrix.platform.os }}
steps:
- uses: actions/checkout@v4
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Build package
run: cargo build --release --package notificox
- run: mkdir artifacts/ && mv target/release/${{ matrix.platform.bin }} artifacts/${{ matrix.platform.artifact }}
- uses: actions/upload-artifact@v4
with:
path: |
artifacts/${{ matrix.platform.artifact }}