ci: remove upload-artifact (not supported by Gitea) and build in publish job
Some checks failed
Release & Publish / build (push) Successful in 23s
Release & Publish / publish-gitea (push) Has been skipped
Release & Publish / docs (push) Failing after 37s

This commit is contained in:
root 2026-03-29 00:07:16 +00:00
parent 6198de6d65
commit 1e4d8bdf9f

View File

@ -44,11 +44,8 @@ jobs:
- name: Build package
run: uv build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
- name: Save dist path
run: echo "DIST_PATH=$(pwd)/dist" >> $GITHUB_ENV
publish-gitea:
needs: build
@ -56,11 +53,16 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: dist
path: dist/
- name: Checkout code
uses: actions/checkout@v4
- name: Get version from tag
run: |
VERSION=${GITHUB_REF#refs/tags/v}
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Build package
run: uv build
- name: Publish to Gitea Packages
run: |