name: release-flow
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+*"
jobs:
build:
runs-on: ${{ matrix.os.imageName }}
strategy:
matrix:
rust_toolchain: ["stable"]
os:
- imageName: ubuntu-16.04
target: x86_64-unknown-linux-gnu
profile: linux
- imageName: "macOS-latest"
target: x86_64-apple-darwin
profile: mac
- imageName: "windows-2019"
target: x86_64-pc-windows-msvc
profile: windows
env:
TARGET: ${{matrix.os.target}}
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust_toolchain }}
override: true
- uses: davidB/rust-cargo-make@v1
- uses: actions/checkout@v4.2.2
- name: Make zip-release-ci-flow
run: cargo make --disable-check-for-updates --profile ${{ matrix.os.profile }} zip-release-ci-flow
- name: Upload to gitHub release
run: cargo make --disable-check-for-updates --profile ${{ matrix.os.profile }} github-upload-flow
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ github.ref }}