Skip to content

Bump version number

Bump version number #4

Workflow file for this run

on:
push:
tags:
- '*'
name: Release
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
target:
- arm-unknown-linux-gnueabihf
- arm-unknown-linux-musleabihf
- x86_64-unknown-linux-gnu
- x86_64-unknown-linux-musl
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
override: true
- name: Build
uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --release --target=${{ matrix.target }}
# TODO: strip executable?
- name: Archive the built binary
run: tar -czf rum-${{ matrix.target }}.tar.gz --directory=target/${{ matrix.target }}/release rum
- name: Publish built binary
uses: softprops/action-gh-release@v1
with:
files: rum-${{ matrix.target }}.tar.gz