Add CI
build
Details
build
Details
This commit is contained in:
parent
4fb1df89d0
commit
e075abd796
|
@ -0,0 +1,19 @@
|
||||||
|
name: CI
|
||||||
|
on:
|
||||||
|
- push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: catthehacker/ubuntu:act-latest
|
||||||
|
steps:
|
||||||
|
- uses: "https://github.com/actions/checkout@v3"
|
||||||
|
- name: Set up Python
|
||||||
|
uses: "https://github.com/actions/setup-python@v4"
|
||||||
|
with:
|
||||||
|
python-version: "3.11"
|
||||||
|
- name: Build
|
||||||
|
run: ./resize.py
|
||||||
|
- name: Upload
|
||||||
|
run: ./upload.py
|
||||||
|
- run: env
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
from cairosvg import svg2png
|
from cairosvg import svg2png
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
Loading…
Reference in New Issue