Skip to content

Commit 3a4e359

Browse files
committed
release: self-contained (no monorepo bootstrap; direct .imp engine)
1 parent 8f3de93 commit 3a4e359

1 file changed

Lines changed: 11 additions & 26 deletions

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,20 @@ on:
44
push:
55
tags:
66
- "v*"
7+
workflow_dispatch:
78

89
jobs:
9-
test:
10-
name: Release
10+
release:
1111
runs-on: ubuntu-latest
12+
permissions:
13+
id-token: write
1214
steps:
13-
- name: Checkout repository
14-
uses: actions/checkout@v4
15-
with:
16-
repository: interscript/interscript
17-
- name: Run bootstrap script
18-
run: ruby bootstrap.rb
19-
- name: Use Ruby
20-
uses: ruby/setup-ruby@v1
21-
with:
22-
ruby-version: "3.2"
23-
- name: Use Python
24-
uses: actions/setup-python@v5
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-python@v5
2517
with:
2618
python-version: "3.12"
27-
- name: Compile maps
28-
run: cd python; pip install build regex pytest twine; bash ./build.sh; pip install .
29-
- name: PyTest
30-
run: cd python; pytest
31-
- name: Build package
32-
run: cd python; python -m build
33-
- name: Publish distribution to PyPI
34-
uses: pypa/gh-action-pypi-publish@release/v1
35-
with:
36-
packages-dir: python/dist/
37-
permissions:
38-
id-token: write
19+
- run: pip install build pytest
20+
- run: pip install -e .
21+
- run: pytest tests/ -v
22+
- run: python -m build
23+
- uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)