Skip to content

Commit

Permalink
Merge pull request #12 from demodrive-ai/sp/action-fix
Browse files Browse the repository at this point in the history
fix: fixing poetry path in composite action
  • Loading branch information
chartotu19 authored Jan 4, 2025
2 parents 5b6c33b + 8dc0b53 commit 3b9897b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 54 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -31,6 +33,11 @@ jobs:
virtualenvs-create: true
virtualenvs-in-project: true

- name: Update version
run: |
VERSION=${GITHUB_REF#refs/tags/v}
poetry version $VERSION
- name: Build package
run: poetry build

Expand Down
51 changes: 0 additions & 51 deletions .github/workflows/release.yml

This file was deleted.

4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ runs:
shell: bash
run: |
cd ${{ github.action_path }}
poetry install --no-interaction --no-root
$HOME/.local/bin/poetry install --no-interaction --no-root
- name: Run llms-txt-action
shell: bash
run: |
cd ${{ github.action_path }}
poetry run python -m llms_txt_action.entrypoint
$HOME/.local/bin/poetry run python -m llms_txt_action.entrypoint
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 = "llms-txt-action"
version = "0.1.0-rc6"
version = "0.1.1"
description = "GitHub Action to make documentation more accessible to LLMs."
authors = ["DemoDrive AI <founders@demodrive.tech>"]
license = "MIT"
Expand Down

0 comments on commit 3b9897b

Please sign in to comment.