Skip to content

internal: Polish docs, tests, and workflows. #2

internal: Polish docs, tests, and workflows.

internal: Polish docs, tests, and workflows. #2

Workflow file for this run

name: Release
permissions:
contents: write
on:
push:
tags:
- "**[0-9]+.[0-9]+.[0-9]+*"
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: moonrepo/setup-rust@v1
with:
cache: false
- id: build
uses: moonrepo/build-wasm-plugin@v0
- if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
uses: ncipollo/release-action@v1
with:
artifacts: builds/*
artifactErrorsFailBuild: true
body: ${{ steps.build.outputs.changelog-entry }}
makeLatest: false
prerelease: ${{ contains(github.ref_name, '-alpha') || contains(github.ref_name, '-beta') || contains(github.ref_name, '-rc') }}
skipIfReleaseExists: true