Refactor release workflow to streamline file preparation and update README for clearer installation instructions
Some checks failed
/ serve (push) Failing after 12s

This commit is contained in:
Edgar P. Burkhart 2025-05-17 20:53:53 +02:00
parent 243c65fb49
commit 7c44e71124
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 14 additions and 5 deletions

View file

@ -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:

View file

@ -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