Skip to content

build(deps): bump serde from 1.0.204 to 1.0.210 #644

build(deps): bump serde from 1.0.204 to 1.0.210

build(deps): bump serde from 1.0.204 to 1.0.210 #644

Workflow file for this run

on:
push:
branches: [ master ]
tags: [ 'v*' ]
pull_request:
branches: [ master ]
merge_group:
name: binaries
jobs:
# release binaries
release-bins:
runs-on: ubuntu-latest
strategy:
matrix:
targets:
- x86_64-unknown-linux-gnu
- armv7-unknown-linux-gnueabihf
#- aarch64-linux-android
- aarch64-unknown-linux-gnu
bins:
- radar
- 1090
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Populate cache
uses: ./.github/workflows/cache
- uses: dtolnay/rust-toolchain@d76c2a93c593483c9892fd8d2538734f73ed8588 # stable
with:
target: ${{ matrix.targets }}
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1
- run: cargo install cargo-quickinstall
- run: cargo quickinstall [email protected] --force
- run: cross build --bin ${{ matrix.bins }} --locked --release --target ${{ matrix.targets }}
- name: archive
run: |
tar -czvf ${{ matrix.bins }}-${{ matrix.targets }}.tar.gz \
-C target/${{ matrix.targets }}/release/ ${{ matrix.bins }}
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: ${{ matrix.bins }}-${{ matrix.targets }}.tar.gz
path: ${{ matrix.bins }}-${{ matrix.targets }}.tar.gz
- name: Upload binary to release
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
uses: svenstaro/upload-release-action@1beeb572c19a9242f4361f4cee78f8e0d9aec5df # v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ matrix.bins }}-${{ matrix.targets }}.tar.gz
asset_name: ${{ matrix.bins }}-${{ matrix.targets }}.tar.gz
tag: ${{ github.ref }}
overwrite: true