Skip to content

🔧 fix: heimdall_core::decode lib fixes (#156) #43

🔧 fix: heimdall_core::decode lib fixes (#156)

🔧 fix: heimdall_core::decode lib fixes (#156) #43

Workflow file for this run

name: Publish
on:
push:
tags:
- '*'
env:
CARGO_TERM_COLOR: always
jobs:
release:
name: Publish for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
artifact_name: heimdall
asset_name: heimdall-linux-amd64
- os: macos-latest
artifact_name: heimdall
asset_name: heimdall-macos-amd64
steps:
- uses: actions/checkout@v2
- name: Build Binaries
run: |
cargo clean
RUSTFLAGS="-C codegen-units=1" CARGO_PROFILE_RELEASE_LTO=true cargo build --release
- name: Upload Binaries
uses: svenstaro/upload-release-action@v2
with:
file: ./target/release/${{ matrix.artifact_name }}
asset_name: ${{ matrix.asset_name }}
tag: ${{ github.ref }}
overwrite: true