Skip to content

only build public functionality from now on #30

only build public functionality from now on

only build public functionality from now on #30

Workflow file for this run

name: Release
permissions:
contents: write
on:
push:
tags:
- v[0-9]+.*
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/create-gh-release-action@v1
with:
token: ${{ secrets.RELEASE_GH_TOKEN }}
upload-assets:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.69.0
default: true
- name: Install Ubuntu dependencies
if: ${{ matrix.os == 'ubuntu-latest' }}
run: export DEBIAN_FRONTEND=noninteractive && sudo apt update && sudo apt install -y librust-alsa-sys-dev
# Fake dependency to build the binary, otherwise it fails even with the feature off
- run: |
mkdir -p crates/glass

Check failure on line 43 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 43
cat <<EOF > crates/glass/Cargo.toml
[package]
name = "glass"
version = "0.1.0"
edition = "2021"
EOF
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: steel
token: ${{ secrets.RELEASE_GH_TOKEN }}