Skip to content

release

release #4

Workflow file for this run

name: release
on:
workflow_dispatch:
jobs:
build:
name: ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
matrix:
include:
- target: x86_64-pc-windows-gnu
archive: zip
- target: x86_64-unknown-linux-musl
archive: tar.gz
- target: x86_64-apple-darwin
archive: zip
steps:
- uses: actions/checkout@master
- uses: rust-build/[email protected]
id: compile
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: ${{ matrix.archive }}
UPLOAD_MODE: none
MINIFY: true
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.target }}
path: ${{ steps.compile.outputs.BUILT_ARCHIVE }}
release:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- name: List files
run: ll -R