release 2.2.4 #19
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
# this is from https://github.com/extrawurst/gitui/blob/master/.github/workflows/cd.yml | |
name: spa-client release | |
on: | |
push: | |
tags: | |
- 'v*' | |
workflow_dispatch: | |
jobs: | |
release: | |
strategy: | |
fail-fast: false | |
matrix: | |
settings: | |
- os: ubuntu-latest | |
name: linux-spa-client | |
bash: make release-linux-client-musl | |
- os: macos-latest | |
name: mac-spa-client | |
bash: make release-client-mac | |
- os: windows-latest | |
name: windows-spa-client | |
bash: make release-client-win | |
runs-on: ${{ matrix.settings.os }} | |
steps: | |
- name: Get version | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: Swatinem/rust-cache@v2 | |
- name: Setup MUSL | |
if: matrix.settings.os == 'ubuntu-latest' | |
run: | | |
rustup target add x86_64-unknown-linux-musl | |
sudo apt-get -qq install musl-tools | |
- name: Build Release | |
run: ${{ matrix.settings.bash }} | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
path: ./release/* | |
name: ${{ matrix.settings.name }} | |
if-no-files-found: error |