Update build artifacts
This commit is contained in:
parent
180c604266
commit
3df64f75ea
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -74,19 +74,9 @@ jobs:
|
||||||
- name: List files in dist/
|
- name: List files in dist/
|
||||||
run: ls -al dist
|
run: ls -al dist
|
||||||
|
|
||||||
- name: Publish artifacts
|
|
||||||
if: github.ref == 'refs/tags/v*'
|
|
||||||
run: |
|
|
||||||
poetry publish --build
|
|
||||||
echo "Artifacts published successfully"
|
|
||||||
|
|
||||||
publish:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: build
|
|
||||||
steps:
|
|
||||||
- name: 'Upload Artifact'
|
- name: 'Upload Artifact'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ github.event.release.tag_name }}-build
|
name: build-artifacts
|
||||||
path: dist/
|
path: dist/
|
||||||
retention-days: 5
|
retention-days: 5
|
||||||
|
|
Loading…
Reference in a new issue