Skip to content

Commit

Permalink
🐞 fix(workflow): Corretto script di build
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeSavefrogs committed Jan 23, 2023
1 parent 0e7c2b5 commit e7cc5d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,29 @@ jobs:
contents: write

steps:
- name: "Checkout repository"
- name: "πŸ›’ Checkout repository"
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install Python
- name: "🐍 Install Python"
uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: Install Poetry
- name: "πŸ“œ Install Poetry"
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.3.2

- name: View poetry --help
run: poetry --help

- name: Install dependencies
- name: "πŸ” Install dependencies"
run: poetry install

- name: Generate artifacts
- name: "πŸŽ‰ Generate artifacts"
run: |
poetry run pyinstaller --name "Genera CSV" --log-level WARN --noconfirm --onefile --clean ./src/main.py
poetry run build
- name: "Create Release"
- name: "🏁 Create Release"
uses: ncipollo/release-action@v1.12.0
with:
allowUpdates: false
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "danea-automation"
version = "0.1.5a0"
version = "0.2.1"
description = ""
authors = ["Luca Salvarani <lucasalvarani99@gmail.com>"]
readme = "README.md"
Expand Down

0 comments on commit e7cc5d8

Please sign in to comment.