From 7c44e711243cc80113d7d19d8051094a6cae2643 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Sat, 17 May 2025 20:53:53 +0200 Subject: [PATCH] Refactor release workflow to streamline file preparation and update README for clearer installation instructions --- .forgejo/workflows/release.yaml | 8 +++----- README.md | 11 +++++++++++ 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml index 6155368..0804330 100644 --- a/.forgejo/workflows/release.yaml +++ b/.forgejo/workflows/release.yaml @@ -11,11 +11,9 @@ jobs: uses: actions/checkout@v4 - name: Prepare files run: | - mkdir -p /tmp/micromail /tmp/release - cp package.json /tmp/micromail/ - cp -r micromail /tmp/micromail/ - cd /tmp/micromail - tar -czvf /tmp/release/micromail.tar.gz . + mkdir -p /tmp/release + cp package.json /tmp/release/ + cp -r micromail /tmp/release/ - name: Make release uses: actions/forgejo-release@v2.6.0 with: diff --git a/README.md b/README.md index 754c2f7..367a032 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,17 @@ Tiny SMTP client for Micropython. See [examples](examples) for usage. Inspired from [shawwwn/uMail](https://github.com/shawwwn/uMail). +## Installation + +### Manual +Copy the `micromail` folder to your device. + +### MIP +```python +>>> import mip +>>> mip.install("https://code.edgarpierre.fr/edpibu/micromail/releases/download/latest/") +``` + ## Documentation ### Class MicromailClient