Skip to content

Commit 20af84e

Browse files
committed
chore: use artifact in workflow
1 parent 06193ce commit 20af84e

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/publish_release.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ jobs:
2424
python_version: '3.10'
2525
pypi_token: ${{ secrets.PYPI_API_KEY }}
2626

27+
- name: Upload built artifacts
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: dist
31+
path: dist
32+
2733
create-release:
2834
name: Create GitHub Release
2935
runs-on: ubuntu-latest
@@ -35,13 +41,19 @@ jobs:
3541
- name: Checkout code
3642
uses: actions/checkout@v4
3743

44+
- name: Download built artifacts
45+
uses: actions/download-artifact@v4
46+
with:
47+
name: dist
48+
path: dist
49+
3850
- name: Release to GitHub
3951
uses: softprops/action-gh-release@v2
4052
with:
4153
generate_release_notes: true
4254
draft: false
4355
prerelease: false
44-
files: "dist/*"
56+
files: dist/*
4557

4658
build-and-publish-image:
4759
runs-on: ubuntu-latest

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "camel-ai"
7-
version = "0.2.3a"
7+
version = "0.2.3a1"
88
authors = ["CAMEL-AI.org"]
99
description = "Communicative Agents for AI Society Study"
1010
readme = "README.md"

0 commit comments

Comments
 (0)