Skip to content

Release

Release #7

Workflow file for this run

name: Release
on:
push:
tags:
- "[0-9]+.*"
permissions:
contents: write
packages: write
jobs:
create-release:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Create a Release
uses: elgohr/Github-Release-Action@v5
with:
title: ${{ github.ref }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
upload-assets:
strategy:
fail-fast: false
matrix:
include:
- target: aarch64-unknown-linux-gnu
os: ubuntu-20.04
- target: aarch64-apple-darwin
os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: difft
# (optional) On which platform to distribute the `.tar.gz` file.
tar: unix
# (optional) Target triple, default is host triple.
target: ${{ matrix.target }}
token: ${{ secrets.GITHUB_TOKEN }}