Skip to content

Bump serde from 1.0.208 to 1.0.209 (#100) #8

Bump serde from 1.0.208 to 1.0.209 (#100)

Bump serde from 1.0.208 to 1.0.209 (#100) #8

Workflow file for this run

on:
push:
tags:
- 'v*'
name: Release
permissions:
contents: write
env:
CARGO_TERM_COLOR: always
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build x86_64 binary
run: |
docker build -t nmc:amd64 --platform linux/amd64 .
container_id=$(docker create nmc:amd64 --entrypoint /)
docker cp $container_id:/target/release/nmc nmc-linux-x86_64
- name: Build aarch64 binary
run: |
docker build -t nmc:arm64 --platform linux/arm64 .
container_id=$(docker create nmc:arm64 --entrypoint /)
docker cp $container_id:/target/release/nmc nmc-linux-aarch64
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
nmc-linux-aarch64
nmc-linux-x86_64