Skip to content

Release

Release #2

Workflow file for this run

name: Release
on:
workflow_dispatch:
release:
types: [released]
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
file: evtc_dump
name: evtc_dump_linux
- os: windows-latest
file: evtc_dump.exe
name: evtc_dump_win.exe
- os: macos-latest
file: evtc_dump
name: evtc_dump_mac
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --release --package evtc_dump
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.name }}
path: target/release/${{ matrix.file }}
- uses: shogo82148/actions-upload-release-asset@v1
continue-on-error: true
with:
upload_url: ${{ github.event.release.upload_url }}
asset_name: ${{ matrix.name }}
asset_path: target/release/${{ matrix.file }}