Skip to content

fix: Use canary/nightly based on current triple target. #16

fix: Use canary/nightly based on current triple target.

fix: Use canary/nightly based on current triple target. #16

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