removed some unnecessary attribute from DataStream and AttachmentStre… #108
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Release | |
on: | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: # manual trigger | |
jobs: | |
build: | |
permissions: | |
contents: write # allow to create a release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Generate requirements.txt | |
run: | | |
pip3 install -U pip | |
pip3 install -U pipenv | |
pipenv install | |
pipenv requirements > requirements.txt | |
- name: Build | |
run: ./scripts/make-build.sh | |
- name: Make Archive | |
run: tar -cvz -C dist/ jarklin/ -f "dist/jarklin.tgz" | |
# - name: Install UI-Build | |
# run: | | |
# mkdir -p dist/jarklin/web/web-ui/ | |
# ./dist/jarklin/jarklin download-web-ui --dest dist/web-ui.tgz | |
# tar -xf dist/web-ui.tgz -C dist/jarklin/web/web-ui/ | |
# - name: Make Archive with Web-UI | |
# run: tar -cvz -C dist/ jarklin/ -f "dist/jarklin.bundled.tgz" | |
- name: Release | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest" | |
draft: false | |
prerelease: false | |
title: "Jarklin Build" | |
files: | | |
dist/jarklin.tgz | |
# dist/jarklin.bundled.tgz | |
# dist/web-ui.tgz | |
# dist/jarklin.whl | |
# dist/jarklin.deb |