Skip to content

FEAT: Add download links, expand documentation #1

FEAT: Add download links, expand documentation

FEAT: Add download links, expand documentation #1

Workflow file for this run

name: release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
build:
needs: setup
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
include:
- os: macos-latest
binary: s3lightfixes
archive: macos-latest.zip
- os: ubuntu-latest
binary: s3lightfixes
archive: ubuntu-latest.zip
- os: windows-latest
binary: s3lightfixes.exe
archive: windows-latest.zip
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- name: build
run: cargo build --release
- name: compress
run: 7z a -tzip ${{matrix.archive}} ./target/release/${{matrix.binary}}
- name: upload
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: ${{ matrix.archive }}