Update github actions
This commit is contained in:
parent
0da0193a0a
commit
28661250bb
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -71,6 +71,12 @@ jobs:
|
|||
- name: Build the package
|
||||
run: poetry build
|
||||
|
||||
- name: Publish artifacts
|
||||
if: github.ref == 'refs/tags/v*'
|
||||
run: |
|
||||
poetry publish --build
|
||||
echo "Artifacts published successfully"
|
||||
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
|
@ -78,6 +84,6 @@ jobs:
|
|||
- name: 'Upload Artifact'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: my-artifact
|
||||
path: $GITHUB_WORKSPACE/norduniclient-package.md
|
||||
name: ${{ github.event.release.tag_name }}-build
|
||||
path: dist/
|
||||
retention-days: 5
|
||||
|
|
Loading…
Reference in a new issue