Skip to content

Commit d953723

Browse files
committed
feat: try semantic release
1 parent e5e4908 commit d953723

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ jobs:
6060
with:
6161
fetch-depth: 0
6262
persist-credentials: false
63+
- name: Install the latest version of rye
64+
uses: eifinger/setup-rye@v3
65+
- name: Restore build artifacts
66+
uses: actions/cache@v2
67+
with:
68+
path: scrapegraph-py/dist
69+
key: ${{ runner.os }}-build-${{ hashFiles('scrapegraph-py/dist/**') }}
6370
- name: Semantic Release
6471
uses: cycjimmy/[email protected]
6572
with:

.releaserc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ plugins:
3333
- - "semantic-release-pypi"
3434
- buildCommand: "cd scrapegraph-py && rye build"
3535
distDirectory: "scrapegraph-py/dist"
36+
packageDirectory: "scrapegraph-py"
3637
- "@semantic-release/github"
3738
- - "@semantic-release/git"
3839
- assets:

0 commit comments

Comments
 (0)