Skip to content

Commit

Permalink
WIP - autopublish releases
Browse files Browse the repository at this point in the history
  • Loading branch information
steebe committed Dec 5, 2023
1 parent 9776667 commit f4f6e4b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: main

on:
push:
branches:
- main
- dev

jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Configure Python3
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'

- name: Install pyinstaller
run: pip install pyinstaller && pip install -r requirements.txt

- name: Bootstrap venv
run: script/init.sh && source script/env-up.sh

- name: Build latest release
run: pyinstaller --onefile --paths unminipy-env/lib/python3.11/site-packages --hidden-import pyperclip -n unminipy unmini.py
3 changes: 3 additions & 0 deletions releases.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# v1.0.0
unminipy v1: a simple executable that allows for converting minified JSON provided either thru the user's clipboard
or a local file into an unminified format.

0 comments on commit f4f6e4b

Please sign in to comment.