Skip to content

Commit 9008f77

Browse files
authored
Merge pull request #256 from OpenGeoscience/semantic-release
Run Semantic Release in an environment with uv and npm installed
2 parents dd7efff + ebc70b3 commit 9008f77

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ jobs:
1111
runs-on: ubuntu-22.04
1212
steps:
1313
- uses: actions/checkout@v6
14-
- uses: actions/setup-node@v6
14+
- name: Install npm
15+
uses: actions/setup-node@v6
1516
- run: |
1617
npm ci
1718
working-directory: web

.github/workflows/release.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
permissions:
88
contents: write
99
jobs:
10-
tag-and-publish:
10+
version-and-release:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout repository
@@ -16,8 +16,10 @@ jobs:
1616
fetch-depth: 0
1717
- name: Install uv
1818
uses: astral-sh/setup-uv@v7
19-
- name: Python Semantic Release
20-
id: release
21-
uses: python-semantic-release/python-semantic-release@master
22-
with:
23-
github_token: ${{ secrets.GITHUB_TOKEN }}
19+
- name: Install npm
20+
uses: actions/setup-node@v6
21+
- name: Run Semantic Release
22+
run: |
23+
uvx python-semantic-release version
24+
env:
25+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)