Skip to content

Create GitHub Actions Release Workflow for Optimized WASM #17

Description

@Code-Paragon

Problem

The project provides a make optimize command, but there is no automated process to securely build and attach the minimized .wasm binary to GitHub Releases.

Expected behavior

A GitHub Actions workflow is created that triggers on tag creation, compiles the contracts, runs soroban contract optimize, and uploads the final .wasm file as a release artifact.

Files to update

  • .github/workflows/release.yml (create)

Project relevance

Ensures that institutions and frontend deployments always have access to a deterministic, securely compiled, and size-optimized binary straight from the source repository.

Acceptance criteria

  • Feature works as described
  • Tests are added or updated where needed
  • Documentation is updated where needed
  • The workflow utilizes the soroban-cli to perform the optimization step before upload
  • No TypeScript, lint, test, or build errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions