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