Version 3.0.2 #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Make Distribution | |
on: | |
push: | |
tags: | |
- "v*" | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-20.04 | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- if: ${{ matrix.os == 'macos-latest' }} | |
run: | | |
rustup target add aarch64-apple-darwin x86_64-apple-darwin | |
dist/mkdist-macos ${{ github.ref_name }} | |
- if: ${{ matrix.os == 'ubuntu-20.04' }} | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y libclang-dev libgtk-3-dev libwebkit2gtk-4.0-dev librsvg2-dev | |
dist/mkdist-linux ${{ github.ref_name }} | |
- if: ${{ matrix.os == 'windows-latest' }} | |
run: | | |
dist/mkdist-windows.ps1 ${{ github.ref_name }} | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: dist-${{ matrix.os }} | |
path: | | |
dist/*.dmg | |
dist/*.tar.bz2 | |
dist/*.zip |