ci: release for all platforms #13
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: Release | |
on: | |
pull_request: | |
workflow_dispatch: | |
inputs: | |
component: | |
description: The software component to release | |
required: true | |
type: choice | |
options: | |
- identity-server | |
jobs: | |
build: | |
name: Build the code for each platform | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/[email protected] | |
- uses: mlugg/[email protected] | |
with: | |
version: 0.13.0 | |
- name: Cache cargo dependencies | |
uses: Swatinem/[email protected] | |
# - name: Install mingw | |
# run: sudo apt-get install -y mingw-w64 | |
- name: Install cargo-zigbuild | |
run: cargo install --locked [email protected] | |
- name: Cargo zigbuild | |
run: | | |
scripts/build-release.sh |