Skip to content

chore(deps): bump quinn-proto from 0.11.6 to 0.11.8 #291

chore(deps): bump quinn-proto from 0.11.6 to 0.11.8

chore(deps): bump quinn-proto from 0.11.6 to 0.11.8 #291

Workflow file for this run

name: Release
on:
push:
tags:
- "*"
pull_request:
env:
rust: 1.75.0
jobs:
build:
name: Release binary for ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-20.04
name: linux-musl
target: x86_64-unknown-linux-musl
target_file: target/x86_64-unknown-linux-musl/release/quill
asset_name: quill-linux-x86_64-musl
features: []
- os: windows-2019
name: windows
target_file: target/release/quill.exe
asset_name: quill-windows-x86_64.exe
build_deps: scripts/workflows/provision-windows-build.ps1
- os: macos-12-large
name: macos
target_file: target/release/quill
asset_name: quill-macos-x86_64
build_deps: scripts/workflows/provision-darwin-build.sh
- os: macos-13-xlarge
name: macos-arm64
target_file: target/release/quill
asset_name: quill-macos-arm64
build_deps: scripts/workflows/provision-darwin-arm64-build.sh
- os: ubuntu-20.04
name: linux-arm32
target: arm-unknown-linux-gnueabihf
target_file: target/arm-unknown-linux-gnueabihf/release/quill
asset_name: quill-linux-arm32
features: [hsm]
- os: ubuntu-20.04
name: linux
target_file: target/release/quill
asset_name: quill-linux-x86_64
build_deps: scripts/workflows/provision-linux-build.sh
env:
VCPKG_ROOT: 'C:\vcpkg'
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/git
~/.cargo/registry
${{ env.VCPKG_ROOT }}
key: ${{ matrix.os }}-cargo-${{ env.rust }}-release-1
- name: Install dependencies
if: ${{ matrix.build_deps }}
run: ${{ matrix.build_deps }}
- name: Install target
if: ${{ matrix.target }}
run: rustup target add ${{ matrix.target }}
- uses: taiki-e/install-action@v2
with:
tool: [email protected]
- name: Build
run: >
cross build
${{ matrix.target && format('--target {0}', matrix.target) }}
${{ matrix.features && format('--no-default-features --features "{0}"', join(matrix.features)) }}
--release --locked
- name: Upload binaries to release
if: ${{ github.ref_type == 'tag' }}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ matrix.target_file }}
asset_name: ${{ matrix.asset_name }}
tag: ${{ github.ref }}
aggregate:
name: release:required
needs: [build]
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- name: check result
if: ${{ needs.build.result != 'success' }}
run: exit 1