# Manually triggered action to build a Windows repl.exe which users can
# download to debug complex bugs.

name: Build Windows REPL .exe

on:
  workflow_dispatch:

jobs:
  build_repl:
    name: Build REPL example
    runs-on: windows-latest
    steps:
      - uses: actions/checkout@v3

      - name: Build
        run: cargo build -p deltachat-repl --features vendored

      - name: Upload binary
        uses: actions/upload-artifact@v3
        with:
          name: repl.exe
          path: "target/debug/deltachat-repl.exe"
