bugfixes
All checks were successful
CI / linter (ubuntu-latest, 3.9) (push) Successful in 24s
SonarQube Scan / SonarQube Trigger (push) Successful in 1m1s
CI / tests_linux (ubuntu-latest, 3.9) (push) Successful in 26s
Upload Python Package / Create Release (push) Successful in 26s
Rename the project from template / rename-project (push) Successful in 28s
Upload Python Package / deploy (push) Successful in 30s

This commit is contained in:
Simon 2024-11-13 16:06:57 +01:00
parent 694680ffdf
commit c50b1b588b
2 changed files with 2 additions and 2 deletions

View File

@ -50,5 +50,5 @@ jobs:
run: | run: |
REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}') REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}')
python setup.py sdist bdist_wheel python setup.py sdist bdist_wheel
twine upload --repository-url -u gitearobot -p ${{ secrets.PACKAGE_GITEA_PAT }} https://git.disi.dev/api/packages/$REPOSITORY_OWNER/pypi dist/* twine upload --repository-url https://git.disi.dev/api/packages/$REPOSITORY_OWNER/pypi -u gitearobot -p ${{ secrets.PACKAGE_GITEA_PAT }} dist/*

View File

@ -6,7 +6,7 @@ permissions: write-all
jobs: jobs:
rename-project: rename-project:
if: ${{ !endsWith (github.repository, 'Templates/Python') }} if: ${{ !endsWith (gitea.repository, 'Templates/Python') }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3