Files
seafile-mirror/.gitea/actions/poetrybuild/action.yaml
Max Mehl 069ffd94e3
Some checks failed
Python Linters / pylint (pull_request) Failing after 53s
Python Linters / formatting (pull_request) Failing after 53s
REUSE Compliance / reuse (pull_request) Successful in 14s
Selftests / test-build-install (pull_request) Failing after 11s
Python Linters / mypy (pull_request) Failing after 50s
Selftests / test-sync (pull_request) Failing after 39s
echo
2025-01-12 13:14:55 +01:00

26 lines
659 B
YAML

# SPDX-FileCopyrightText: 2023 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0
name: "Reusable Poetry build workflow"
inputs:
poetry_install_args:
default: ""
description: "Value for additional poetry install arguments"
required: false
runs:
using: "composite"
steps:
- name: Set PATH
run: export PATH=$PATH:~/.local/bin
- run: echo "gitea $GITEA_PATH"
- run: echo "github $GITHUB_PATH"
- name: Test
run: echo $PATH
- name: Install poetry
run: pipx install poetry
- name: Install poetry package
run: poetry install --no-interaction ${{ inputs.poetry_install_args }}
shell: bash