Skip to content

Build and upload Wasp CLI binaries to release #72

Build and upload Wasp CLI binaries to release

Build and upload Wasp CLI binaries to release #72

Workflow file for this run

name: Build and upload Wasp CLI binaries to release
on:
create:
tags:
- v*
jobs:
ci:
uses: ./.github/workflows/waspc-ci.yaml
build:
uses: ./.github/workflows/waspc-build.yaml
create-release:
needs: [ci, build]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/download-artifact@v4
with:
pattern: wasp-cli-*
# `download-artifact` will download each artifact into its own separate
# directory. We need to account for this in the glob pattern for the
# release artifacts. The glob should only include the files inside the
# folders, not the folders themselves.
- name: Create Github release
uses: ncipollo/release-action@v1
with:
draft: true
allowUpdates: true
artifacts: "./wasp-cli-*/*"
artifactErrorsFailBuild: true
replacesArtifacts: true